kas-docker: switch to /bin/bash as SHELL per default
In case SHELL is `/usr/bin/bash`, `/usr/bin/zsh` or something else that is not available in the kas docker container, fall back to `/bin/bash`. Signed-off-by: Claudius Heine <ch@denx.de> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
parent
677c469fb5
commit
116853cbb4
@ -263,6 +263,9 @@ case "$SHELL" in
|
|||||||
/bin/sh|/bin/bash|/bin/dash)
|
/bin/sh|/bin/bash|/bin/dash)
|
||||||
set -- "$@" -e "SHELL=$SHELL"
|
set -- "$@" -e "SHELL=$SHELL"
|
||||||
;;
|
;;
|
||||||
|
*)
|
||||||
|
set -- "$@" -e "SHELL=/bin/bash"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ -z "${NO_PROXY_FROM_ENV+x}" ]; then
|
if [ -z "${NO_PROXY_FROM_ENV+x}" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user