Fixed check for existing zip file

This commit is contained in:
Gator96100 2018-08-03 18:09:41 +02:00 committed by GitHub
commit c4d15694cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,7 +37,7 @@ for i in $( ls ); do
git pull
hash=$(git rev-parse HEAD)
date=$(date +%Y%m%d)
if ! ls $copyDir/$i-$arch/$i-$arch-$date-$hash.zip 1> /dev/null 2>&1; then
if ! ls $copyDir/$i-$arch/*-$hash.zip 1> /dev/null 2>&1; then
make clean
make all
if [ $? -eq 0 ]; then
@ -61,4 +61,4 @@ for i in $( ls ); do
echo done
fi
fi
done
done