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>
-#!/bin/bash
+#!/usr/bin/env bash
set -e
# This script must be able to run with bash-3.1, so it can't use
-#!/bin/bash
+#!/usr/bin/env bash
while getopts p:l:r:a: OPT ; do
case "${OPT}" in
-#!/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.
-#!/bin/bash
+#!/usr/bin/env bash
die() {
echo "Error: $@" >&2
-#!/bin/bash
+#!/usr/bin/env bash
# Try to hardlink a file into a directory, fallback to copy on failure.
#
-#!/bin/bash
+#!/usr/bin/env bash
set -e
TOOLCHAINS_URL='http://autobuild.buildroot.org/toolchains/configs/toolchain-configs.csv'