Skip to content

Commit 1fa03a5

Browse files
committed
improve error handling in CLP packaging script
1 parent 46ffa55 commit 1fa03a5

File tree

1 file changed

+2
-5
lines changed
  • tools/docker-images/clp-package-ubuntu-jammy

1 file changed

+2
-5
lines changed

tools/docker-images/clp-package-ubuntu-jammy/build.sh

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

3-
# Exit on any error
4-
set -e
5-
6-
# Error on undefined variable
7-
set -u
3+
set -eu
4+
set -o pipefail
85

96
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
107
repo_root=${script_dir}/../../../

0 commit comments

Comments
 (0)