summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xMaster/tlpkg/bin/ctan2tds2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/ctan2tds b/Master/tlpkg/bin/ctan2tds
index 840a62688d9..8525b468d94 100755
--- a/Master/tlpkg/bin/ctan2tds
+++ b/Master/tlpkg/bin/ctan2tds
@@ -1727,7 +1727,7 @@ sub MAKEflatten {
#-d <*/*/*/.> && &SYSTEM("$MV -f */*/* .");
#-d <*/*/.> && &SYSTEM("$MV -f */*/* .");
#-d <*/.> && &SYSTEM("$MV -f */* .");
- &SYSTEM("find -type d -print | xargs rmdir 2>/dev/null");
+ &SYSTEM("find -depth -type d -print | xargs rmdir 2>/dev/null");
&SYSTEM("find -type f -print >/tmp/find");
&buildfilelist;
&donormal;