aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2015-03-25 21:16:12 +0100
committerDavid Runge <dave@sleepmap.de>2015-03-25 21:16:12 +0100
commita083d57c9c7e50abc3b4da60e0699e808ee4b13f (patch)
treea81f5ef6e786a09c9777512db421ff20c36e305e /bin
parent8dac3a89f76e52704407aa955c2ec086d4257ef3 (diff)
downloaddotfiles-a083d57c9c7e50abc3b4da60e0699e808ee4b13f.tar.gz
dotfiles-a083d57c9c7e50abc3b4da60e0699e808ee4b13f.tar.bz2
dotfiles-a083d57c9c7e50abc3b4da60e0699e808ee4b13f.tar.xz
dotfiles-a083d57c9c7e50abc3b4da60e0699e808ee4b13f.zip
bin/tex2pdf: Switch to smartly deleting all unneeded non-primary tex related files in current directory and the ones below current directory.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/tex2pdf3
1 files changed, 1 insertions, 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}