summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/ctan2tl
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-11-10 23:04:45 +0000
committerKarl Berry <karl@freefriends.org>2016-11-10 23:04:45 +0000
commit826cfcb9289b9f084253810e2bb65fe2ea98dc85 (patch)
tree1fddceb01e07e8ea51dcbc8d2634a74ecb1a3cf9 /Master/tlpkg/bin/ctan2tl
parentb030d68ae58e045c5fbe8138490681185d460b68 (diff)
toptesi (10nov16)
git-svn-id: svn://tug.org/texlive/trunk@42479 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/ctan2tl')
-rwxr-xr-xMaster/tlpkg/bin/ctan2tl8
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/tlpkg/bin/ctan2tl b/Master/tlpkg/bin/ctan2tl
index 4eba4477b8e..8c7a29d0068 100755
--- a/Master/tlpkg/bin/ctan2tl
+++ b/Master/tlpkg/bin/ctan2tl
@@ -128,10 +128,12 @@ ctan2tds --ctan-dir=$ctan_dir $pkg || exit 1
cd $cooked || exit 1
printf "\n\f cooked\n"
find $pkg -name TDS_READY -exec rm '{}' \; # remove sentinel file
-find -depth -type d | xargs rmdir 2>/dev/null # remove empty directories
+find $pkg -depth -type d | xargs rmdir 2>/dev/null # remove empty directories
-if test -n "`find -name \*\ \*`"; then
- echo "$0: cooked hierarchy contains files with spaces, goodbye." >&2
+spacenames="`find $pkg -name \*\ \*`"
+if test -n "$spacenames"; then
+ echo "$0: cooked hierarchy contains files with spaces, goodbye:" >&2
+ echo "$spacenames" >&2
exit 1
fi