From 3e80ea74cb89f969b0aaec7971be577cc4e033e3 Mon Sep 17 00:00:00 2001 From: Manuel Pégourié-Gonnard Date: Fri, 9 May 2008 02:48:22 +0000 Subject: clean up the tmpdirs after ctan2tl & tlpkg-ctan-check git-svn-id: svn://tug.org/texlive/trunk@7967 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/bin/ctan2tl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Master/tlpkg/bin/ctan2tl') diff --git a/Master/tlpkg/bin/ctan2tl b/Master/tlpkg/bin/ctan2tl index 600c7ff6f08..8f852e12bcd 100755 --- a/Master/tlpkg/bin/ctan2tl +++ b/Master/tlpkg/bin/ctan2tl @@ -86,6 +86,11 @@ fi fi # end of copying from CTAN. +# clean up the tmpdir possibly created by 'tlpkginfo --prepare' +ctan_root=`tlpkginfo --ctan-root` +if ! echo "$ctan_dir1" | egrep "^$ctan_root" >/dev/null; then + rm -rf $ctan_dir1 +fi # printf "\n$0: calling ctan2tds\n" -- cgit v1.2.3