From c68bbe56e618724ec477f5b8c7f1daa459b96b18 Mon Sep 17 00:00:00 2001 From: FriendlyNeighborhoodShane Date: Tue, 17 Mar 2020 19:10:40 +0530 Subject: [PATCH] Better zip --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index e408b7d..63efee5 100755 --- a/build.sh +++ b/build.sh @@ -99,7 +99,7 @@ echo " "; echo " - Zipping files..."; 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; }; [ -f "$tmpdir/release.zip" ] || { echo " " >&2; echo "FATAL: Zip failed" >&2; return 1; }