diff --git a/Meta/lint-executable-resources.sh b/Meta/lint-executable-resources.sh index de14f2918d..669bbd3487 100755 --- a/Meta/lint-executable-resources.sh +++ b/Meta/lint-executable-resources.sh @@ -1,5 +1,6 @@ -#!/bin/sh -set -e pipefail +#!/bin/bash + +set -eo pipefail script_path=$(cd -P -- "$(dirname -- "$0")" && pwd -P) cd "$script_path/.." diff --git a/Meta/lint-ipc-ids.sh b/Meta/lint-ipc-ids.sh index 78ffdedb4f..9973b6efff 100755 --- a/Meta/lint-ipc-ids.sh +++ b/Meta/lint-ipc-ids.sh @@ -1,5 +1,6 @@ -#!/bin/sh -set -e pipefail +#!/bin/bash + +set -eo pipefail script_path=$(cd -P -- "$(dirname -- "$0")" && pwd -P) cd "$script_path/.." diff --git a/Meta/lint-missing-resources.sh b/Meta/lint-missing-resources.sh index fa8646bc98..2c0a4e043c 100755 --- a/Meta/lint-missing-resources.sh +++ b/Meta/lint-missing-resources.sh @@ -1,5 +1,6 @@ -#!/bin/sh -set -e pipefail +#!/bin/bash + +set -eo pipefail script_path=$(cd -P -- "$(dirname -- "$0")" && pwd -P) cd "$script_path/.." diff --git a/Meta/lint-shell-scripts.sh b/Meta/lint-shell-scripts.sh index 322e6dafcf..e6ee774532 100755 --- a/Meta/lint-shell-scripts.sh +++ b/Meta/lint-shell-scripts.sh @@ -1,5 +1,6 @@ #!/bin/bash -set -e pipefail + +set -eo pipefail script_path=$(cd -P -- "$(dirname -- "$0")" && pwd -P) cd "$script_path/.."