fix quoting issue
This commit is contained in:
		
							
								
								
									
										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"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user