summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xMaster/tlpkg/bin/ctan2tds14
1 files changed, 8 insertions, 6 deletions
diff --git a/Master/tlpkg/bin/ctan2tds b/Master/tlpkg/bin/ctan2tds
index cf34ccf86e5..07861799958 100755
--- a/Master/tlpkg/bin/ctan2tds
+++ b/Master/tlpkg/bin/ctan2tds
@@ -57,7 +57,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw
'amsldoc-vn', "&MAKEflatten",
'amsrefs', "&MAKEamslatex",
'antomega', "&MAKEflatten",
- 'antt', "&MAKEflatten",
+ 'antt', "&MAKEcopy",
'apacite', "&MAKEflatten",
'arabi', "&MAKEarabi",
'arabtex', "&MAKEarabtex",
@@ -1696,11 +1696,13 @@ sub MAKEflatten {
# so far we've only seen README's at one level.
&SYSTEM('for d in *; do test -r $d/README && mv $d/README README.$d; done');
- -d <*/*/*/*/*/.> && &SYSTEM("$MV -f */*/*/*/* .");
- -d <*/*/*/*/.> && &SYSTEM("$MV -f */*/*/* .");
- -d <*/*/*/.> && &SYSTEM("$MV -f */*/* .");
- -d <*/*/.> && &SYSTEM("$MV -f */*/* .");
- -d <*/.> && &SYSTEM("$MV -f */* .");
+ &SYSTEM("find . -mindepth 2 -not -type d -exec mv '\{\}' . \\;");
+ #-d <*/*/*/*/*/*/.> && &SYSTEM("$MV -f */*/*/*/*/* .");
+ #-d <*/*/*/*/*/.> && &SYSTEM("$MV -f */*/*/*/* .");
+ #-d <*/*/*/*/.> && &SYSTEM("$MV -f */*/*/* .");
+ #-d <*/*/*/.> && &SYSTEM("$MV -f */*/* .");
+ #-d <*/*/.> && &SYSTEM("$MV -f */*/* .");
+ #-d <*/.> && &SYSTEM("$MV -f */* .");
&SYSTEM("find -type d -print | xargs rmdir 2>/dev/null");
&SYSTEM("find -type f -print >/tmp/find");
&buildfilelist;