From acc76a6ef9fd204cc79a3d63e90c8b43163bdeab Mon Sep 17 00:00:00 2001 From: Bjørn Forsman Date: Tue, 21 Oct 2014 16:05:56 +0200 Subject: Change /bin/bash shebangs into /usr/bin/env bash MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Acked-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- support/scripts/pkg-stats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'support/scripts/pkg-stats') diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index f6d10bb597..48a5536eca 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2009 by Thomas Petazzoni # -- cgit v1.2.3