fix quoting issue
This commit is contained in:
parent
1beba78f8f
commit
19347506fd
4
deck.sh
4
deck.sh
@ -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…
x
Reference in New Issue
Block a user