use env bash shebangs for portability (#11)

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub 2020-08-13 15:37:57 +02:00 committed by GitHub
parent 1cb2e74aa4
commit 384264142c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 9 additions and 9 deletions

View File

@ -334,7 +334,7 @@ necessary for using this build system. It's being sourced by a script with the
same name in the superproject's top directory: same name in the superproject's top directory:
```bash ```bash
#!/bin/bash #!/usr/bin/env bash
# We use ${BASH_SOURCE[0]} instead of $0 to allow sourcing this file # We use ${BASH_SOURCE[0]} instead of $0 to allow sourcing this file
# and we fall back to a Zsh-specific special var to also support Zsh. # and we fall back to a Zsh-specific special var to also support Zsh.

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Copyright (c) 2018-2020 Status Research & Development GmbH. Licensed under # Copyright (c) 2018-2020 Status Research & Development GmbH. Licensed under
# either of: # either of:

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# used in Travis CI and AppVeyor scripts # used in Travis CI and AppVeyor scripts
# Copyright (c) 2018-2020 Status Research & Development GmbH. Licensed under # Copyright (c) 2018-2020 Status Research & Development GmbH. Licensed under

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Copyright (c) 2018-2020 Status Research & Development GmbH. Licensed under # Copyright (c) 2018-2020 Status Research & Development GmbH. Licensed under
# either of: # either of:

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# used in Travis CI scripts # used in Travis CI scripts
# Copyright (c) 2018-2020 Status Research & Development GmbH. Licensed under # Copyright (c) 2018-2020 Status Research & Development GmbH. Licensed under

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Copyright (c) 2018-2019 Status Research & Development GmbH. Licensed under # Copyright (c) 2018-2019 Status Research & Development GmbH. Licensed under
# either of: # either of:

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Copyright (c) 2018-2019 Status Research & Development GmbH. Licensed under # Copyright (c) 2018-2019 Status Research & Development GmbH. Licensed under
# either of: # either of:

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -e set -e

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Copyright (c) 2018-2019 Status Research & Development GmbH. Licensed under # Copyright (c) 2018-2019 Status Research & Development GmbH. Licensed under
# either of: # either of: