Skip to content

Commit 12ba364

Browse files
Prepare script should exit on errors (#346)
1 parent ed36074 commit 12ba364

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

base/prepare.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
set -x
3+
set -ex -o pipefail
44

55
# We start by adding extra apt packages, since pip modules may required library
66
if [ "$EXTRA_APT_PACKAGES" ]; then

notebook/prepare.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
set -x
3+
set -ex -o pipefail
44

55
# We start by adding extra apt packages, since pip modules may require system dependencies
66
if [ "$EXTRA_APT_PACKAGES" ]; then

0 commit comments

Comments
 (0)