From bbe1331b8e272781fb4cf48afb8562a896b8e488 Mon Sep 17 00:00:00 2001 From: thegecko Date: Wed, 9 Sep 2020 16:55:35 +0100 Subject: [PATCH] Try maintaining symlinks --- .gitignore | 1 + scripts/sign.sh | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index c7d51f04a..9fc9f3d72 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +.DS_Store node_modules .browser_modules dist diff --git a/scripts/sign.sh b/scripts/sign.sh index 123d83321..e147b7a94 100755 --- a/scripts/sign.sh +++ b/scripts/sign.sh @@ -5,7 +5,7 @@ ENTITLEMENTS=$2 # zip app chmod -R a-st $INPUT -zip -r -q unsigned.zip $INPUT +zip -r -q --symlinks unsigned.zip $INPUT rm -rf $INPUT # copy zip to storage server @@ -26,8 +26,8 @@ actualSize=$(stat -f%z signed.zip) # file is too small, it's likely an error so show it if [ $actualSize -lt 40000000 ]; then echo "signed.zip is just $actualSize bytes large!" - echo "" - cat signed.zip + output=$(cat signed.zip) + echo "$output" fi # unzip app