The root cause is
mklinks.sh
but the effect shows up following a build.
I use
mklinks.sh
so that my build process doesn't compalin too much about being unable to find plugin documentation topics, but when the tarfile is un-tared ay the prodcution site, the links on the new machine are "broken" becuase they point to a file on the old machine's file system.
In short, the
tar
command used by the build process does not de-reference symlinks.
This should be resolved by using the
-cp
option of
mklinks.sh
, but that doens't work properly:
[DEVELOP]$ sh mklinks.sh -cp SpreadSheetPlugin
cp: cannot stat `../../../twikiplugins/SpreadSheetPlugin/lib/TWiki/Plugins/SpreadSheetPlugin': No such file or directory
cp: cannot stat `../../../twikiplugins/SpreadSheetPlugin/lib/TWiki/Plugins/SpreadSheetPlugin.pm': No such file or directory
cp: cannot stat `../../twikiplugins/SpreadSheetPlugin/data/TWiki/SpreadSheetPlugin.txt': No such file or directory
Duplicate. See
Item818 CC