From b442b2c71e504e49f9d2a120788d8b12634a4db2 Mon Sep 17 00:00:00 2001 From: r4sas Date: Wed, 9 Jun 2021 03:20:07 +0000 Subject: [PATCH] [macos] fix build script Signed-off-by: r4sas --- macos/build/build | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/macos/build/build b/macos/build/build index 9057ff8..1f5eb39 100755 --- a/macos/build/build +++ b/macos/build/build @@ -58,7 +58,7 @@ if [ $? -ne 0 ]; then # Not found error, trying to cut language variable fi fi -if [ ! -f $file ]; then +if [ ! -f "$file" ]; then echo "[Error] Can't find downloaded file. Does it really exist?" exit 1 fi @@ -75,8 +75,6 @@ else rm SHA512SUMS fi -exit - echo "Attaching image and copying files..." hdiutil attach "$file" cp -r /Volumes/Firefox/Firefox.app ../FirefoxESR.app