From c88db64db3525c99d1e759a25cabe14224ef2ebe Mon Sep 17 00:00:00 2001 From: Julian Rex Date: Tue, 26 Nov 2019 14:23:26 -0500 Subject: [PATCH] Fix unbound variable error (#75) --- platform/ios/scripts/publish.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/ios/scripts/publish.sh b/platform/ios/scripts/publish.sh index 58cec47c3..52fc9d990 100755 --- a/platform/ios/scripts/publish.sh +++ b/platform/ios/scripts/publish.sh @@ -42,7 +42,7 @@ du -sch pkg/dynamic/* # upload # DRYRUN="" -if [[ ${SKIP_S3} ]]; then +if [[ ${SKIP_S3-} ]]; then DRYRUN="--dryrun" fi @@ -75,7 +75,7 @@ fi step "Validating local and remote checksums…" -if [[ ! ${SKIP_S3} ]]; then +if [[ ! ${SKIP_S3-} ]]; then curl --output remote-${ZIP_FILENAME} ${S3_URL} LOCAL_CHECKSUM=$( shasum -a 256 -b ${ZIP_FILENAME} | cut -d ' ' -f 1 ) REMOTE_CHECKSUM=$( shasum -a 256 -b remote-${ZIP_FILENAME} | cut -d ' ' -f 1 )