support/scripts: fix shebang with bash
authorFrancois Perrad <fperrad@gmail.com>
Mon, 5 Jun 2017 07:37:40 +0000 (09:37 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 8 Jun 2017 19:43:05 +0000 (21:43 +0200)
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>
support/scripts/br2-external
support/scripts/check-bin-arch
support/scripts/fix-configure-powerpc64.sh
support/scripts/genimage.sh
support/scripts/hardlink-or-copy
support/scripts/test-pkg

index 7e816081a190f7b0834763140e17c3bdbb6cbaf4..00cb57d1eda3f972d07429804bf792dd5a659568 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 set -e
 
 # This script must be able to run with bash-3.1, so it can't use
index ff974a71bcaebdf8f9f0d2cdef55f6329d193a62..b822cdd60d5750dc6841d900b3e68f8b395803ed 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 while getopts p:l:r:a: OPT ; do
        case "${OPT}" in
index ad710422a5f4fc1337d44eaa05f19996329b2f65..ff2b283ce918a9d9aa5be63a573f88a2236a3105 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # This is a script to find, and correct, a problem with old versions of
 # configure that affect powerpc64 and powerpc64le.
index 6c8d9e5ad302643c8022707224f1d8e7ef1f1fd7..625afc108c82f107e1e982a8a7cca624f510e9a1 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 die() {
   echo "Error: $@" >&2
index b046bdf059f321b0d3917ec1b8380c0aabdc9fef..a052318ffa19a8fe341b4127fdc87fb1fbb16fe7 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # Try to hardlink a file into a directory, fallback to copy on failure.
 #
index f08c608727c288be06e6bdc356201219f66b169f..7633a21e53a661967be72d088b435b694fc8bde0 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 set -e
 
 TOOLCHAINS_URL='http://autobuild.buildroot.org/toolchains/configs/toolchain-configs.csv'