Skip to content

Commit

Permalink
run-make-check.sh: reset trap after sourcing install-deps.sh
Browse files Browse the repository at this point in the history
Since we source install-deps.sh, it replaces our trap with its own,
so we have to reinstate our trap after it finishes.

Signed-off-by: Nathan Cutler <[email protected]>
  • Loading branch information
smithfarm committed Jul 9, 2018
1 parent b79b463 commit 458a0a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions run-make-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ function run() {

if test -f ./install-deps.sh ; then
$DRY_RUN source ./install-deps.sh || return 1
trap clean_up_after_myself EXIT
fi

# Init defaults after deps are installed. get_processors() depends on coreutils nproc.
Expand Down

0 comments on commit 458a0a6

Please sign in to comment.