aboutsummaryrefslogtreecommitdiff
path: root/support/download/cp
diff options
context:
space:
mode:
authorGravatar Bjørn Forsman <bjorn.forsman@gmail.com>2014-10-21 16:05:56 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-10-25 01:55:37 +0200
commitacc76a6ef9fd204cc79a3d63e90c8b43163bdeab (patch)
tree76e84ad8fc4b0ff7f2c6306f59edcc3ce3b5a7c1 /support/download/cp
parentb7c1c3ba6a7dc3831bea0e16de801049105abaf3 (diff)
downloadbuildroot-acc76a6ef9fd204cc79a3d63e90c8b43163bdeab.tar.gz
buildroot-acc76a6ef9fd204cc79a3d63e90c8b43163bdeab.tar.bz2
Change /bin/bash shebangs into /usr/bin/env bash
Not all systems have /bin/bash (e.g. NixOS[1] doesn't). Buildroot already uses /usr/bin/env shebangs for other interpreters (perl, python), so why not bash? This changes only the shebangs used by Buildroot itself; stuff installed to the target system is left unchanged. With this applied I can run Buildroot unmodified on NixOS. [1]: http://nixos.org/ Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'support/download/cp')
-rwxr-xr-xsupport/download/cp2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/download/cp b/support/download/cp
index 264f5dc522..463fc382c4 100755
--- a/support/download/cp
+++ b/support/download/cp
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# We want to catch any unexpected failure, and exit immediately
set -e