Changed zip filename

This commit is contained in:
Gator96100 2018-08-03 17:38:07 +02:00
commit 1bdc532f2a

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/$date-$hash.zip 1> /dev/null 2>&1; then
if ! ls $copyDir/$i-$arch/$i-$arch-$date-$hash.zip 1> /dev/null 2>&1; then
make clean
make all
if [ $? -eq 0 ]; then
@ -57,7 +57,7 @@ for i in $( ls ); do
cp $pm3Dir/$i/driver/proxmark3.inf "$buildDir/$i/Windows Driver"
rm $buildDir/$i/win$arch/hardnested/{*.h,*.c}
cd $buildDir/$i
zip -r $copyDir/$i-$arch/$date-$hash.zip ./*
zip -r $copyDir/$i-$arch/$i-$arch-$date-$hash.zip ./*
echo done
fi
fi