diff --git a/Meta/lint-executable-resources.sh b/Meta/lint-executable-resources.sh index de14f2918dee66..669bbd34876faa 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 78ffdedb4f7efb..9973b6efff3e0c 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 fa8646bc987210..2c0a4e043cc0c4 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 322e6dafcfec2b..e6ee774532b838 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/.."