From a083d57c9c7e50abc3b4da60e0699e808ee4b13f Mon Sep 17 00:00:00 2001 From: David Runge Date: Wed, 25 Mar 2015 21:16:12 +0100 Subject: bin/tex2pdf: Switch to smartly deleting all unneeded non-primary tex related files in current directory and the ones below current directory. --- bin/tex2pdf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/tex2pdf b/bin/tex2pdf index fd99224..71718f0 100755 --- a/bin/tex2pdf +++ b/bin/tex2pdf @@ -30,5 +30,4 @@ mupdf $1.pdf & echo "#####################################################">>$logdestination echo "Removing aux,bbl,blg,dvi,lof,log,lot,nav,out,snm,toc.">>$logdestination echo "Current directory: $(pwd) and children of depth 1.">>$logdestination -rm -f $1.{aux,bbl,blg,dvi,lof,log,lot,nav,out,snm,toc} -rm -f */*.{aux,bbl,blg,dvi,lof,log,lot,nav,out,snm,toc} +rm -f *.{aux,bbl,blg,dvi,lof,log,lot,nav,out,snm,toc} */*.{aux,bbl,blg,dvi,lof,log,lot,nav,out,snm,toc} -- cgit v1.2.3-70-g09d2