kas-docker: Simplify SHELL variable passing
The SHELL variable we pass can neither contain spaces nor newlines - we check for supported values. Simplify the related assignment. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
		@@ -234,7 +234,7 @@ done
 | 
				
			|||||||
# propagate only supported SHELL settings
 | 
					# propagate only supported SHELL settings
 | 
				
			||||||
case "$SHELL" in
 | 
					case "$SHELL" in
 | 
				
			||||||
/bin/sh|/bin/bash|/bin/dash)
 | 
					/bin/sh|/bin/bash|/bin/dash)
 | 
				
			||||||
	set -- "$@" -e "SHELL='$(eval echo \"\$SHELL\")'"
 | 
						set -- "$@" -e "SHELL=$SHELL"
 | 
				
			||||||
	;;
 | 
						;;
 | 
				
			||||||
esac
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user