summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2019-12-06 13:32:54 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-12-06 15:25:20 +0100
commit8a750efed0399f36679cddd3718841ff293711b6 (patch)
tree990cc9df705705f3a0e5ab3f339e1e443b76417e
parentf3b01ed6b7fc95cc81e59fbead57fe18f9d3b9f0 (diff)
downloadbarebox-8a750efed0399f36679cddd3718841ff293711b6.tar.gz
barebox-8a750efed0399f36679cddd3718841ff293711b6.tar.xz
docs: use #!/usr/bin/env bash shebang instead of #!/bin/bash
Some distributions might not have bash in /bin, but in $PATH. Using #!/usr/bin/env bash solves this, and is consistent with how the perl and python shebangs look like in the tree. Signed-off-by: Florian Klink <flokli@flokli.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--Documentation/user/usb.rst2
-rwxr-xr-xMAKEALL2
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/user/usb.rst b/Documentation/user/usb.rst
index 029e463540..4c1b2925f2 100644
--- a/Documentation/user/usb.rst
+++ b/Documentation/user/usb.rst
@@ -172,7 +172,7 @@ and initrd:
.. code-block:: sh
- #!/bin/bash
+ #!/usr/bin/env bash
set -e
set -v
diff --git a/MAKEALL b/MAKEALL
index 909e170b15..3548739e37 100755
--- a/MAKEALL
+++ b/MAKEALL
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# Print statistics when we exit
trap exit 1 2 3 15