summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xMaster/tlpkg/bin/ctan2tl4
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check2
-rwxr-xr-xMaster/tlpkg/bin/tlpkginfo1
3 files changed, 3 insertions, 4 deletions
diff --git a/Master/tlpkg/bin/ctan2tl b/Master/tlpkg/bin/ctan2tl
index c5ccd3046e1..ce2eb1ee5f9 100755
--- a/Master/tlpkg/bin/ctan2tl
+++ b/Master/tlpkg/bin/ctan2tl
@@ -97,9 +97,9 @@ else
cp -pr $ctan_dir/. $pkg
fi
-# clean up the tmpdir possibly created by 'tlpkginfo --prepare'
+# clean up the tmpdir possibly created by tlpkginfo --prepare.
ctan_root=`tlpkginfo --ctan-root`
-if ! echo "$ctan_dir" | egrep "^$ctan_root" >/dev/null; then
+if echo "$ctan_dir" | egrep "^$ctan_root" >/dev/null; then :; else
rm -rf $ctan_dir
fi
fi # end of copying from CTAN.
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index a5b15865cf1..9d1886c0a64 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -373,7 +373,7 @@ sub do_tlp
}
}
- # xx check ctan dir for new files
+ # xx check ctan dir for new files somehow?
if (@compared == 0) {
warn "\n$tlpn: no files to compare in $ctan_dir, fixme!\n";
diff --git a/Master/tlpkg/bin/tlpkginfo b/Master/tlpkg/bin/tlpkginfo
index 6474be4838d..faeabdc3838 100755
--- a/Master/tlpkg/bin/tlpkginfo
+++ b/Master/tlpkg/bin/tlpkginfo
@@ -308,4 +308,3 @@ sub copy_to_tmpdir
return $pkgdir;
}
-