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>
@@ -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
while getopts p:l:r:a: OPT ; do
case "${OPT}" in
# This is a script to find, and correct, a problem with old versions of
# configure that affect powerpc64 and powerpc64le.
die() {
echo "Error: $@" >&2
# Try to hardlink a file into a directory, fallback to copy on failure.
#
TOOLCHAINS_URL='http://autobuild.buildroot.org/toolchains/configs/toolchain-configs.csv'