Improve build scripts to work in pathnames with spaces
This commit is contained in:
parent
04496fadcd
commit
49eda8861e
3 changed files with 5 additions and 5 deletions
|
@ -387,7 +387,7 @@ if [ $BUILD_MAC == 1 ]; then
|
|||
#if [ ! -e "Firefox $GECKO_VERSION MacOS.zip" ]; then
|
||||
# rm "MacOS.zip"
|
||||
#fi
|
||||
echo $($SCRIPT_DIR/xulrunner_hash -p m) > hash-mac
|
||||
echo $("$SCRIPT_DIR/xulrunner_hash" -p m) > hash-mac
|
||||
fi
|
||||
|
||||
if [ $BUILD_WIN == 1 ]; then
|
||||
|
@ -452,7 +452,7 @@ if [ $BUILD_WIN == 1 ]; then
|
|||
echo
|
||||
echo
|
||||
done
|
||||
echo $($SCRIPT_DIR/xulrunner_hash -p w) > hash-win
|
||||
echo $("$SCRIPT_DIR/xulrunner_hash" -p w) > hash-win
|
||||
fi
|
||||
|
||||
if [ $BUILD_LINUX == 1 ]; then
|
||||
|
|
|
@ -36,7 +36,7 @@ else
|
|||
fi
|
||||
|
||||
xulrunner_content=$(< "$SCRIPT_DIR/fetch_xulrunner")
|
||||
xulrunner_gecko_hash=$(echo -n "$GECKO_VERSION - $xulrunner_content" | openssl dgst -sha256)
|
||||
xulrunner_gecko_hash=$(echo -n "$GECKO_VERSION - '$xulrunner_content'" | openssl dgst -sha256)
|
||||
|
||||
echo "$xulrunner_gecko_hash"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue