[macos] fix build script

Signed-off-by: r4sas <r4sas@i2pmail.org>
This commit is contained in:
R4SAS 2021-06-09 03:20:07 +00:00
parent 6323f326e6
commit b442b2c71e

View File

@ -58,7 +58,7 @@ if [ $? -ne 0 ]; then # Not found error, trying to cut language variable
fi fi
fi fi
if [ ! -f $file ]; then if [ ! -f "$file" ]; then
echo "[Error] Can't find downloaded file. Does it really exist?" echo "[Error] Can't find downloaded file. Does it really exist?"
exit 1 exit 1
fi fi
@ -75,8 +75,6 @@ else
rm SHA512SUMS rm SHA512SUMS
fi fi
exit
echo "Attaching image and copying files..." echo "Attaching image and copying files..."
hdiutil attach "$file" hdiutil attach "$file"
cp -r /Volumes/Firefox/Firefox.app ../FirefoxESR.app cp -r /Volumes/Firefox/Firefox.app ../FirefoxESR.app