From df646794f3185a37d1323928192884172a86fb21 Mon Sep 17 00:00:00 2001 From: Esras Date: Sat, 22 Oct 2022 09:14:53 -0700 Subject: [PATCH] Add quotes around the romfile to capture spaces and other characters. (#1831) Co-authored-by: Zachary Boerner --- scripts/linux/appimage/soh.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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