mirror of
https://github.com/FriendlyNeighborhoodShane/MinMicroG
synced 2024-11-16 21:25:39 +00:00
Better zip
This commit is contained in:
parent
9037b3f37c
commit
c68bbe56e6
2
build.sh
2
build.sh
@ -99,7 +99,7 @@ echo " ";
|
|||||||
echo " - Zipping files...";
|
echo " - Zipping files...";
|
||||||
|
|
||||||
cd "$tmpdir" || { echo " "; echo "FATAL: Can't cd to $tmpdir"; return 1; };
|
cd "$tmpdir" || { echo " "; echo "FATAL: Can't cd to $tmpdir"; return 1; };
|
||||||
zip -r9q "$tmpdir/release.zip" ./*;
|
zip -r9q "$tmpdir/release.zip" "." || { echo " "; echo "FATAL: Can't zip package"; return 1; };
|
||||||
cd "$workdir" || { echo " "; echo "FATAL: Can't cd to $workdir"; return 1; };
|
cd "$workdir" || { echo " "; echo "FATAL: Can't cd to $workdir"; return 1; };
|
||||||
|
|
||||||
[ -f "$tmpdir/release.zip" ] || { echo " " >&2; echo "FATAL: Zip failed" >&2; return 1; }
|
[ -f "$tmpdir/release.zip" ] || { echo " " >&2; echo "FATAL: Zip failed" >&2; return 1; }
|
||||||
|
Loading…
Reference in New Issue
Block a user