* [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
* [Buildroot] [PATCH 1/1] package/mke2img: "/bin/bash" => "/usr/bin/env bash" shebang
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
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2015-01-08 20:35 UTC (permalink / raw)
To: buildroot
Dear Bj?rn Forsman,
On Thu, 8 Jan 2015 21:31:19 +0100, Bj?rn Forsman wrote:
> 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(-)
Applied, thanks!
(See: we can be fast! :-))
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] package/mke2img: "/bin/bash" => "/usr/bin/env bash" shebang
2015-01-08 20:35 ` Thomas Petazzoni
@ 2015-01-08 20:36 ` Bjørn Forsman
0 siblings, 0 replies; 3+ messages in thread
From: Bjørn Forsman @ 2015-01-08 20:36 UTC (permalink / raw)
To: buildroot
On 8 January 2015 at 21:35, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Dear Bj?rn Forsman,
>
> On Thu, 8 Jan 2015 21:31:19 +0100, Bj?rn Forsman wrote:
>> 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(-)
>
> Applied, thanks!
>
> (See: we can be fast! :-))
Indeed! Thanks :-)
- Bj?rn
^ permalink raw reply [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