Browse Source

Add quotes around the romfile to capture spaces and other characters. (#1831)

Co-authored-by: Zachary Boerner <zach@branchcut.org>
pull/1835/head
Esras 1 month ago committed by GitHub
parent
commit
df646794f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      scripts/linux/appimage/soh.sh

2
scripts/linux/appimage/soh.sh

@ -18,7 +18,7 @@ while [[ (! -e "$SHIP_HOME"/oot.otr) || (! -e "$SHIP_HOME"/oot-mq.otr) ]]; do @@ -18,7 +18,7 @@ while [[ (! -e "$SHIP_HOME"/oot.otr) || (! -e "$SHIP_HOME"/oot-mq.otr) ]]; do
export OLDPWD="$PWD"
mkdir -p "$ASSETDIR"/tmp
mkdir -p "$ASSETDIR"/Extract
ln -s $romfile "$ASSETDIR"/tmp/rom.z64
ln -s "$romfile" "$ASSETDIR"/tmp/rom.z64
cd "$ASSETDIR"
ROMHASH=$(sha1sum -b "$ASSETDIR"/tmp/rom.z64 | awk '{ print $1 }')
case "$ROMHASH" in

Loading…
Cancel
Save