[Sound-open-firmware] [PATCH 1/3] scripts: Add #! headers to shell scripts

Dylan Reid dgreid at chromium.org
Wed Apr 25 18:48:39 CEST 2018


Use /bin/sh by default.  The lists used in xtensa-build-all.sh are a
bash feature, use bash for that script.

Signed-off-by: Dylan Reid <dgreid at chromium.org>
---
 scripts/host-build-all.sh   | 2 ++
 scripts/rimage-build.sh     | 2 ++
 scripts/xtensa-build-all.sh | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/scripts/host-build-all.sh b/scripts/host-build-all.sh
index fd3c847..87933b3 100755
--- a/scripts/host-build-all.sh
+++ b/scripts/host-build-all.sh
@@ -1,3 +1,5 @@
+#!/bin/sh
+
 # fail on any errors
 set -e
 
diff --git a/scripts/rimage-build.sh b/scripts/rimage-build.sh
index a2a2e86..af7997d 100755
--- a/scripts/rimage-build.sh
+++ b/scripts/rimage-build.sh
@@ -1,3 +1,5 @@
+#!/bin/sh
+
 ./autogen.sh
 ./configure --enable-rimage
 make
diff --git a/scripts/xtensa-build-all.sh b/scripts/xtensa-build-all.sh
index 35ff9d9..99db2b0 100755
--- a/scripts/xtensa-build-all.sh
+++ b/scripts/xtensa-build-all.sh
@@ -1,3 +1,5 @@
+#!/bin/bash
+
 # fail on any errors
 set -e
 
-- 
2.17.0.484.g0c8726318c-goog



More information about the Sound-open-firmware mailing list