fix quoting issue

master
amelia 1 year ago
parent 1beba78f8f
commit 19347506fd

@ -1,6 +1,6 @@
#!/usr/bin/env sh
set -f
set -x
#set -x
MainMenu="Install/Tools/Download/Test/Dump"
@ -139,7 +139,7 @@ drawmenu() {
IFS="|"
if [ "$1" = "Back" ] && [ "$(length $MENUSTACK)" -gt 1 ]; then
deleteFirst $MENUSTACK
elif [ $(getNth 0 "$MENUSTACK") != "$1" ] && [ "$1" != "Back" ] && [ "$MODE" = "" ]; then
elif [ "$(getNth 0 \"$MENUSTACK\")" != "$1" ] && [ "$1" != "Back" ] && [ "$MODE" = "" ]; then
addFirst $1
logprint "Adding $1"
logprint "State: $MENUSTACK"

Loading…
Cancel
Save