Skip to content

Commit

Permalink
fix(docker): add set -e to return shell script's error (#5661)
Browse files Browse the repository at this point in the history
  • Loading branch information
youtalk authored Jan 21, 2025
1 parent 3dad554 commit 7e68dc8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker/scripts/build_and_clean.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -e

function build_and_clean() {
local ccache_dir=$1
Expand Down
1 change: 1 addition & 0 deletions docker/scripts/cleanup_apt.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -e

function cleanup_apt() {
local apt_clean=$1
Expand Down
1 change: 1 addition & 0 deletions docker/scripts/cleanup_system.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -e

function cleanup_system() {
local lib_dir=$1
Expand Down
1 change: 1 addition & 0 deletions docker/scripts/resolve_rosdep_keys.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -e

function resolve_rosdep_keys() {
local src_path=$1
Expand Down

0 comments on commit 7e68dc8

Please sign in to comment.