Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/mke2img: "/bin/bash" => "/usr/bin/env bash" shebang
@ 2015-01-08 20:31 Bjørn Forsman
  2015-01-08 20:35 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Bjørn Forsman @ 2015-01-08 20:31 UTC (permalink / raw)
  To: buildroot

For portability. All other Buildroot scripts (i.e. scripts that run on
host) already use the "/usr/bin/env bash" shebang.

This change is needed for NixOS, which lacks a global /bin/bash.

Signed-off-by: Bj?rn Forsman <bjorn.forsman@gmail.com>
---
 package/mke2img/mke2img | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/mke2img/mke2img b/package/mke2img/mke2img
index 68da6ed..5e2f62f 100755
--- a/package/mke2img/mke2img
+++ b/package/mke2img/mke2img
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # Buildroot wrapper to the collection of ext2/3/4 filesystem tools:
 # - genext2fs, to generate ext2 filesystem images
-- 
2.1.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-01-08 20:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-08 20:31 [Buildroot] [PATCH 1/1] package/mke2img: "/bin/bash" => "/usr/bin/env bash" shebang Bjørn Forsman
2015-01-08 20:35 ` Thomas Petazzoni
2015-01-08 20:36   ` Bjørn Forsman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox