diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-06-24 16:41:58 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-06-24 16:47:18 +0200 |
commit | 03f3925bac961cddfa6ab6859bc45b3616716312 (patch) | |
tree | 415aa62cf3d7cec315267206f742a21c42553430 /test/lint/lint-all.sh | |
parent | 31145a3d7c747dce4db5cebc1a3f9cdd91681cb5 (diff) | |
parent | 000000035b20402dea3e8168165cd4eefdc97539 (diff) | |
download | bitcoin-03f3925bac961cddfa6ab6859bc45b3616716312.tar.xz |
Merge #13510: Scripts and tools: Obsolete #!/bin/bash shebang
000000035b20402dea3e8168165cd4eefdc97539 Obsolete #!/bin/bash shebang (DesWurstes)
Pull request description:
> `#!/bin/bash` assumes it is always installed to `/bin/` which can cause issues
> `#!/usr/bin/env bash` searches the user's `PATH` to find the `bash` binary
Details: https://github.com/dylanaraps/pure-bash-bible#obsolete-syntax
I'm open to comments: Should I also fix `#!/bin/sh`?
Tree-SHA512: b47bb4828116aa119f1899c68fee081270d51a898535490b9c616bf0f3660ad953f29c361eafc759bc64cdd54ee6eeecb2d79e9fdb5291a996a515c719805476
Diffstat (limited to 'test/lint/lint-all.sh')
-rwxr-xr-x | test/lint/lint-all.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lint/lint-all.sh b/test/lint/lint-all.sh index c9d4ec7199..7c4f96cb3b 100755 --- a/test/lint/lint-all.sh +++ b/test/lint/lint-all.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # Copyright (c) 2017 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying |