Skip to content

Commit 72ab4dd

Browse files
committed
Set -exo pipefail in test-homebrew*.bash
Signed-off-by: Anna Rift <[email protected]>
1 parent 5de0836 commit 72ab4dd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

util/cron/test-homebrew-linux.bash

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@
99
# tarball created and sha of the tarball,
1010
# and run home-brew test-bot commands as homebrew CI does
1111

12+
set -exo pipefail
13+
1214
# Create a tarball from current repo.
1315
# The tarball is left in root of repo in tar/ directory.
1416
UTIL_CRON_DIR=$(cd $(dirname ${BASH_SOURCE[0]}) ; pwd)
1517

1618
# common-tarball sets CHPL_HOME
1719
source $UTIL_CRON_DIR/common-tarball.bash
1820

19-
2021
# Tell gen_release to use existing repo instead of creating a new one with
2122
# git-archive.
2223
export CHPL_GEN_RELEASE_NO_CLONE=true

util/cron/test-homebrew.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# replace the url and sha in the chapel formula with the url pointing to the tarball created and sha of the tarball.
77
# run home-brew scripts to install chapel.
88

9-
set -ex
9+
set -exo pipefail
1010

1111
UTIL_CRON_DIR=$(cd $(dirname ${BASH_SOURCE[0]}) ; pwd)
1212

0 commit comments

Comments
 (0)