Change /bin/bash shebangs into /usr/bin/env bash
authorBjørn Forsman <bjorn.forsman@gmail.com>
Tue, 21 Oct 2014 14:05:56 +0000 (16:05 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 24 Oct 2014 23:55:37 +0000 (01:55 +0200)
commitacc76a6ef9fd204cc79a3d63e90c8b43163bdeab
tree76e84ad8fc4b0ff7f2c6306f59edcc3ce3b5a7c1
parentb7c1c3ba6a7dc3831bea0e16de801049105abaf3
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>
14 files changed:
support/download/bzr
support/download/check-hash
support/download/cp
support/download/cvs
support/download/git
support/download/hg
support/download/scp
support/download/svn
support/download/wget
support/download/wrapper
support/scripts/apply-patches.sh
support/scripts/expunge-gconv-modules
support/scripts/mkusers
support/scripts/pkg-stats