Skip to content

Commit 59eb7d5

Browse files
Make shell scripts exit on error
1 parent 30d96a5 commit 59eb7d5

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

local-network/all-images-build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
22

3+
set -eu
4+
35
DIR="$(cd "$(dirname "$0")" && pwd)"
46
cd "${DIR}" || exit
57

local-network/consensus_client-image-build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
22

3+
set -eu
4+
35
DIR="$(cd "$(dirname "$0")" && pwd)"
46
cd "${DIR}/.." || exit
57

0 commit comments

Comments
 (0)