mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
utils/docker-run: use portable bash shebang
/usr/bin/bash does not exist on Ubuntu 2018.04. Use the more portable
alternative "#!/usr/bin/env bash" which we are already using in quite
a few scripts.
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Fixes: 242e9d72e7 ("utils/docker-run: new script")
[yann.morin.1998@free.fr: use "#!/usr/bin/env bash", not "@!/bin/bash"]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
committed by
Yann E. MORIN
parent
38b5f2069b
commit
61912cc89a
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/env bash
|
||||||
set -o errexit -o pipefail
|
set -o errexit -o pipefail
|
||||||
DIR=$(dirname "${0}")
|
DIR=$(dirname "${0}")
|
||||||
MAIN_DIR=$(readlink -f "${DIR}/..")
|
MAIN_DIR=$(readlink -f "${DIR}/..")
|
||||||
|
|||||||
Reference in New Issue
Block a user