Browse Source

Cherry-pick "Change shell script interpreter from /bin/bash to /bin/sh"

Christoph Biedl 2 years ago
parent
commit
1aa850fc56

+ 18 - 0
debian/patches/cherry-pick/1516148912.aoetools-36-9-g4ef4274.change-shell-script-interpreter-from-bin-bash-to-bin-sh.patch

@@ -0,0 +1,18 @@
+Subject: Change shell script interpreter from /bin/bash to /bin/sh
+Origin: aoetools-36-9-g4ef4274 <https://github.com/OpenAoE/aoetools/commit/aoetools-36-9-g4ef4274>
+Upstream-Author: Sergio Prado <sergio.prado@e-labworks.com>
+Date: Tue Jan 16 22:28:32 2018 -0200
+
+    This will make the script more portable, making it possible to run on
+    systems that do not have bash.
+
+    Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
+
+--- a/aoe-stat.in
++++ b/aoe-stat.in
+@@ -1,4 +1,4 @@
+-#! /bin/bash
++#! /bin/sh
+ # aoe-stat - collate and present information about AoE storage
+ # Copyright 2012, CORAID, Inc., and licensed under GPL v.2.
+ 

+ 1 - 0
debian/patches/series

@@ -5,6 +5,7 @@ cherry-pick/1434503415.aoetools-36-2-ge50247f.check-amount-of-data-read-from-net
 cherry-pick/1480936926.aoetools-36-5-gbd9616d.aoe-mkdevs-sh-man-page-typo.patch
 cherry-pick/1484013170.aoetools-36-7-gf2d2325.avoid-hyphen-vs-minus-issues.patch
 cherry-pick/1484013334.aoetools-36-8-g9066acb.biedl-fixes-typos-in-documentation.patch
+cherry-pick/1516148912.aoetools-36-9-g4ef4274.change-shell-script-interpreter-from-bin-bash-to-bin-sh.patch
 cherry-pick/1621687045.aoetools-36-11-g4a3ee18.aoe-sancheck-refine-interface-probing.patch
 cherry-pick/1621688081.aoetools-36-12-gc80b1be.aoe-sancheck-raise-the-number-of-interfaces-to-probe-to-32-and-document-the-limit.patch