summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/ctan2tl
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/bin/ctan2tl')
-rwxr-xr-xMaster/tlpkg/bin/ctan2tl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/ctan2tl b/Master/tlpkg/bin/ctan2tl
index 983d2369093..d8c2f7affec 100755
--- a/Master/tlpkg/bin/ctan2tl
+++ b/Master/tlpkg/bin/ctan2tl
@@ -105,7 +105,7 @@ ctan2tds --ctan-dir=$ctan_dir1 $pkg || exit 1
cd $cooked || exit 1
printf "\n\f cooked\n"
-rm -f $pkg/texmf*/TDS_READY # remove sentinel file
+find $pkg -name TDS_READY -exec rm '{}' \; # remove sentinel file
find -depth -type d | xargs rmdir 2>/dev/null # remove empty directories
find $pkg \! -type d -printf "%TY%Tm%Td.%TH%TM %p\n" | sort -k2