summaryrefslogtreecommitdiffstats
path: root/support/download/hg
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2014-10-21 16:05:56 +0200
committerPeter Korsgaard <peter@korsgaard.com>2014-10-25 01:55:37 +0200
commitacc76a6ef9fd204cc79a3d63e90c8b43163bdeab (patch)
tree76e84ad8fc4b0ff7f2c6306f59edcc3ce3b5a7c1 /support/download/hg
parentb7c1c3ba6a7dc3831bea0e16de801049105abaf3 (diff)
downloadbuildroot-acc76a6ef9fd204cc79a3d63e90c8b43163bdeab.tar.gz
buildroot-acc76a6ef9fd204cc79a3d63e90c8b43163bdeab.zip
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/hg')
-rwxr-xr-xsupport/download/hg2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/download/hg b/support/download/hg
index 747dd34802..66bd2eda6c 100755
--- a/support/download/hg
+++ b/support/download/hg
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# We want to catch any unexpected failure, and exit immediately
set -e
OpenPOWER on IntegriCloud