summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec/ctan2tds
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/libexec/ctan2tds')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds14
1 files changed, 8 insertions, 6 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 751234672a7..7e83f424145 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -3598,17 +3598,19 @@ sub POSTknuth
{
print "POST$package - removing nonfree/duplicated files\n";
#
- &xchdir ("$DEST/doc");
- &xmkdir ("generic");
- &SYSTEM ("$MV knuth generic");
- &SYSTEM ("$MV ../source/knuth generic/knuth/source");
- &xchdir ("generic/knuth");
+ &xchdir ("$DEST");
+ &xmkdir ("doc/generic");
+ &SYSTEM ("$MV doc/knuth doc/generic/");
+ #
+ &xmkdir ("source/generic");
+ &SYSTEM ("$MV source/knuth source/generic/");
#
# remove nonfree.
+ &xchdir ("$DEST/doc/generic/knuth");
&SYSTEM ("$RM tex/texbook.tex mf/mfbook.tex");
#
# remove sources that are in build tree.
- &xchdir ("source");
+ &xchdir ("$DEST/source/generic/knuth");
&SYSTEM ("rm -rf etc mf mfware tex/tex.web tex/trip* texware web/*.web");
}