diff options
| author | Esras <Zachary.Boerner@gmail.com> | 2022-10-22 09:14:53 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-22 12:14:53 -0400 |
| commit | df646794f3185a37d1323928192884172a86fb21 (patch) | |
| tree | c00865c5a633f68200dbc7e42765bc4ad0cbfd3b /scripts/linux | |
| parent | 1db4e9303e74733a67809c2a5278155257b82760 (diff) | |
Add quotes around the romfile to capture spaces and other characters. (#1831)
Co-authored-by: Zachary Boerner <zach@branchcut.org>
Diffstat (limited to 'scripts/linux')
| -rw-r--r-- | scripts/linux/appimage/soh.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/linux/appimage/soh.sh b/scripts/linux/appimage/soh.sh index 9d86053dd..e05bba983 100644 --- a/scripts/linux/appimage/soh.sh +++ b/scripts/linux/appimage/soh.sh @@ -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 |
