[Buildroot] [PATCH 1/1] package/mke2img: "/bin/bash" => "/usr/bin/env bash" shebang
Bjørn Forsman
bjorn.forsman at gmail.com
Thu Jan 8 20:31:19 UTC 2015
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 at 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
More information about the buildroot
mailing list