summaryrefslogtreecommitdiff
path: root/auto.sh
diff options
context:
space:
mode:
Diffstat (limited to 'auto.sh')
-rwxr-xr-xauto.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto.sh b/auto.sh
index dccd386..a18ae3d 100755
--- a/auto.sh
+++ b/auto.sh
@@ -155,7 +155,7 @@ function remove_previous_dirs_and_unzip(){
}
# make a list of .zip files
-if [ -e "$(find . -type f -iname *.zip)" ];
+if [ ! -z "$(find . -type f -iname '*.zip')" ];
then
ZIP_FILE_LIST=$(ls -1 *.zip)
for ZIP_FILE in ${ZIP_FILE_LIST}: