diff options
author | Florian Klink <flokli@flokli.de> | 2019-12-06 13:32:54 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-12-06 15:25:20 +0100 |
commit | 8a750efed0399f36679cddd3718841ff293711b6 (patch) | |
tree | 990cc9df705705f3a0e5ab3f339e1e443b76417e | |
parent | f3b01ed6b7fc95cc81e59fbead57fe18f9d3b9f0 (diff) | |
download | barebox-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.rst | 2 | ||||
-rwxr-xr-x | MAKEALL | 2 |
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 @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Print statistics when we exit trap exit 1 2 3 15 |