mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-27 15:33:28 +08: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:
parent
38b5f2069b
commit
61912cc89a
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
set -o errexit -o pipefail
|
||||
DIR=$(dirname "${0}")
|
||||
MAIN_DIR=$(readlink -f "${DIR}/..")
|
||||
|
Loading…
Reference in New Issue
Block a user