From 8b8f6b15d848db4a28cdbf6b5aabd96b385ed0b9 Mon Sep 17 00:00:00 2001 From: MyPetIsBear Date: Sat, 15 Mar 2014 13:23:16 +0400 Subject: [PATCH] fix in build.sh --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 {} \; ; +