Skip to contentSkip to conversation

Use portable shebangs (/bin/bash -> /usr/bin/env bash)

PATCH New Bjørn Forsman 2 participants 2 messages Oct 19, 2015 Arm/Microchip (AT91) SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Use portable shebangs (/bin/bash -> /usr/bin/env bash)

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

---
 board/atmel/flasher.sh        | 2 +-
 board/wandboard/post-image.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
board/atmel/flasher.sh +1 -1
index b04b53d..bbdb199 100755
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 BUILDIR=$1
 TTY=$2
board/wandboard/post-image.sh +1 -1
index 7c90271..95cbfa4 100755
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 GENIMAGE_CFG="board/wandboard/genimage.cfg"
 GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
Signature · 1 line
2.5.2
#1 lore raw

PATCH 1/1 Use portable shebangs (/bin/bash -> /usr/bin/env bash)

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bj?rn" == Bj?rn Forsman <[email protected]> writes:

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

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard