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