mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-08-19 12:59:48 -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
|
copyDir=/builds
|
||||||
buildDir=/tmp
|
buildDir=/tmp
|
||||||
|
|
||||||
pacman -Q zip 1> /dev/null
|
pacman -Q p7zip 1> /dev/null
|
||||||
if [[ $? != 0 ]]; then
|
if [[ $? != 0 ]]; then
|
||||||
pacman --noconfirm -S zip
|
pacman --noconfirm -S p7zip
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$MSYSTEM" == "MINGW32" ]; then
|
if [ "$MSYSTEM" == "MINGW32" ]; then
|
||||||
|
@ -26,7 +26,7 @@ for i in $( ls -d */ ); do
|
||||||
git pull
|
git pull
|
||||||
hash=$(git rev-parse HEAD)
|
hash=$(git rev-parse HEAD)
|
||||||
date=$(date +%Y%m%d)
|
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 clean
|
||||||
make all
|
make all
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
|
@ -47,7 +47,7 @@ for i in $( ls -d */ ); do
|
||||||
cp $pm3Dir/${i%%/}/driver/proxmark3.inf "$buildDir/${i%%/}/Windows Driver"
|
cp $pm3Dir/${i%%/}/driver/proxmark3.inf "$buildDir/${i%%/}/Windows Driver"
|
||||||
rm $buildDir/${i%%/}/win$arch/hardnested/{*.h,*.c}
|
rm $buildDir/${i%%/}/win$arch/hardnested/{*.h,*.c}
|
||||||
cd $buildDir/${i%%/}
|
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
|
echo done
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue