diff options
author | psachin | 2013-08-20 13:09:12 +0530 |
---|---|---|
committer | psachin | 2013-08-20 13:09:12 +0530 |
commit | 75823b45b9d0d2d57f4b3a30ea3e8bf8d0246f63 (patch) | |
tree | e1f720c05e06037b4a43eb098db39296fc35b3b4 /auto.sh | |
parent | 650dc6b465f2b4b7019e412cb92c85cc31cc9621 (diff) | |
download | tbc-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-x | auto.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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}: |