diff --git a/ci/audit.sh b/ci/audit.sh index a5a554962b..a23d3d840d 100755 --- a/ci/audit.sh +++ b/ci/audit.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash -set -e # # Audits project dependencies for security vulnerabilities # +set -e cd "$(dirname "$0")/.." diff --git a/ci/crate-version.sh b/ci/crate-version.sh index f2ca748f77..a33e6faa33 100755 --- a/ci/crate-version.sh +++ b/ci/crate-version.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash -set -e # # Outputs the current crate version # +set -e cd "$(dirname "$0")"/.. diff --git a/ci/run-local.sh b/ci/run-local.sh index 55e0a2fd5a..3fce495c26 100755 --- a/ci/run-local.sh +++ b/ci/run-local.sh @@ -1,9 +1,9 @@ #!/usr/bin/env bash -set -e # # Run the entire buildkite CI pipeline locally for pre-testing before sending a # Github pull request # +set -e cd "$(dirname "$0")/.." BKRUN=ci/node_modules/.bin/bkrun diff --git a/ci/shellcheck.sh b/ci/shellcheck.sh index 669e3bd6f7..4149d62a4e 100755 --- a/ci/shellcheck.sh +++ b/ci/shellcheck.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash -set -e # # Reference: https://github.com/koalaman/shellcheck/wiki/Directive +set -e cd "$(dirname "$0")/.." diff --git a/net/gce.sh b/net/gce.sh index dcc3780705..2b97a27352 100755 --- a/net/gce.sh +++ b/net/gce.sh @@ -382,8 +382,8 @@ EOF declare startupScript="$netConfigDir"/instance-startup-script.sh cat > "$startupScript" < /etc/motd <