[Buildroot] [git commit] Use portable shebangs (/bin/bash -> /usr/bin/env bash)

Peter Korsgaard peter at korsgaard.com
Mon Oct 19 20:06:06 UTC 2015


commit: http://git.buildroot.net/buildroot/commit/?id=9eedc747ab8ed24b1a57a903fe0dd62aef96af2d
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

"/usr/bin/env bash" is used everywhere else in host tools. These are the
only remaining offenders.

Signed-off-by: Bjørn Forsman <bjorn.forsman at gmail.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 board/atmel/flasher.sh        |    2 +-
 board/wandboard/post-image.sh |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/board/atmel/flasher.sh b/board/atmel/flasher.sh
index b04b53d..bbdb199 100755
--- a/board/atmel/flasher.sh
+++ b/board/atmel/flasher.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 BUILDIR=$1
 TTY=$2
diff --git a/board/wandboard/post-image.sh b/board/wandboard/post-image.sh
index 7c90271..95cbfa4 100755
--- a/board/wandboard/post-image.sh
+++ b/board/wandboard/post-image.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 GENIMAGE_CFG="board/wandboard/genimage.cfg"
 GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"


More information about the buildroot mailing list