support/scripts: fix shebang with bash

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Francois Perrad 2017-06-05 09:37:40 +02:00 committed by Thomas Petazzoni
parent f00d6ec67b
commit 9cbe364f57
6 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -e set -e
# This script must be able to run with bash-3.1, so it can't use # This script must be able to run with bash-3.1, so it can't use

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
while getopts p:l:r:a: OPT ; do while getopts p:l:r:a: OPT ; do
case "${OPT}" in case "${OPT}" in

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# This is a script to find, and correct, a problem with old versions of # This is a script to find, and correct, a problem with old versions of
# configure that affect powerpc64 and powerpc64le. # configure that affect powerpc64 and powerpc64le.

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
die() { die() {
echo "Error: $@" >&2 echo "Error: $@" >&2

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Try to hardlink a file into a directory, fallback to copy on failure. # Try to hardlink a file into a directory, fallback to copy on failure.
# #

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -e set -e
TOOLCHAINS_URL='http://autobuild.buildroot.org/toolchains/configs/toolchain-configs.csv' TOOLCHAINS_URL='http://autobuild.buildroot.org/toolchains/configs/toolchain-configs.csv'