package/mke2img: "/bin/bash" => "/usr/bin/env bash" shebang
authorBjørn Forsman <bjorn.forsman@gmail.com>
Thu, 8 Jan 2015 20:31:19 +0000 (21:31 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 8 Jan 2015 20:35:08 +0000 (21:35 +0100)
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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/mke2img/mke2img

index 68da6ed5eec08db06aa3683bc4a44c820b7ddb2e..5e2f62f00592927257006bcc0ab8fd021f4a2eb9 100755 (executable)
@@ -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