mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-08-14 18:47:28 -07:00
switched to 7zip for better compression
This commit is contained in:
parent
5ef795824b
commit
d14948de7c
1 changed files with 4 additions and 4 deletions
|
@ -3,9 +3,9 @@ pm3Dir=/pm3
|
|||
copyDir=/builds
|
||||
buildDir=/tmp
|
||||
|
||||
pacman -Q zip 1> /dev/null
|
||||
pacman -Q p7zip 1> /dev/null
|
||||
if [[ $? != 0 ]]; then
|
||||
pacman --noconfirm -S zip
|
||||
pacman --noconfirm -S p7zip
|
||||
fi
|
||||
|
||||
if [ "$MSYSTEM" == "MINGW32" ]; then
|
||||
|
@ -26,7 +26,7 @@ for i in $( ls -d */ ); do
|
|||
git pull
|
||||
hash=$(git rev-parse HEAD)
|
||||
date=$(date +%Y%m%d)
|
||||
if ! ls $copyDir/${i%%/}-$arch/*-$hash.zip 1> /dev/null 2>&1; then
|
||||
if ! ls $copyDir/${i%%/}-$arch/*-$hash.7z 1> /dev/null 2>&1; then
|
||||
make clean
|
||||
make all
|
||||
if [ $? -eq 0 ]; then
|
||||
|
@ -47,7 +47,7 @@ for i in $( ls -d */ ); 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/${i%%/}-$arch-$date-$hash.zip ./*
|
||||
7z a -r -mx9 $copyDir/${i%%/}-$arch/${i%%/}-$arch-$date-$hash.7z ./*
|
||||
echo done
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue