Skip to content

Commit

Permalink
Script bash preamble is consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
aramprice committed Mar 14, 2024
1 parent f288b84 commit d42c155
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 11 deletions.
3 changes: 2 additions & 1 deletion scripts/bosh-lite-acceptance-test
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail

set -eux
set -x

absolute_path() {
(cd "$1" && pwd)
Expand Down
3 changes: 2 additions & 1 deletion scripts/start-docker
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
#!/usr/bin/env bash
set -euo pipefail

absolute_path() {
(cd "$1" && pwd)
Expand Down
3 changes: 2 additions & 1 deletion scripts/test-acceptance
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail

set -eux
set -x

. start-bosh

Expand Down
5 changes: 2 additions & 3 deletions scripts/test-unit
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/bash

set -e
#!/usr/bin/env bash
set -euo pipefail

absolute_path() {
(cd "$1" && pwd)
Expand Down
3 changes: 2 additions & 1 deletion scripts/test-upgrade
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail

set -eux
set -x

. start-bosh

Expand Down
3 changes: 2 additions & 1 deletion scripts/test-with-concourse
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
#!/usr/bin/env bash
set -euo pipefail

absolute_path() {
(cd "$1" && pwd)
Expand Down
5 changes: 2 additions & 3 deletions scripts/test-with-docker
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/bash

set -e
#!/usr/bin/env bash
set -euo pipefail

absolute_path() {
(cd "$1" && pwd)
Expand Down

0 comments on commit d42c155

Please sign in to comment.