diff --git a/build.sh b/build.sh index 4f3560c..0a57ecb 100755 --- a/build.sh +++ b/build.sh @@ -26,5 +26,6 @@ cp $MAINTEX.pdf ../$PDF_NAME cd .. # Clear -find -E $TEX/ -type f ! -regex ".*\.(tex|bib|cls|sty|bst|clo|asm|gitignore)" -exec rm -f {} \; ; +find -E $TEX/ -maxdepth 1 -type f ! -regex ".*\.(tex|bib|cls|sty|bst|clo|asm|gitignore)" -exec rm -f {} \; ; +