summaryrefslogtreecommitdiff
path: root/auto.sh
diff options
context:
space:
mode:
authorpsachin2013-08-20 13:09:12 +0530
committerpsachin2013-08-20 13:09:12 +0530
commit75823b45b9d0d2d57f4b3a30ea3e8bf8d0246f63 (patch)
treee1f720c05e06037b4a43eb098db39296fc35b3b4 /auto.sh
parent650dc6b465f2b4b7019e412cb92c85cc31cc9621 (diff)
downloadtbc-auto-checker-75823b45b9d0d2d57f4b3a30ea3e8bf8d0246f63.tar.gz
tbc-auto-checker-75823b45b9d0d2d57f4b3a30ea3e8bf8d0246f63.tar.bz2
tbc-auto-checker-75823b45b9d0d2d57f4b3a30ea3e8bf8d0246f63.zip
Subject: BUGFIX: in `find` command
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}: