summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Cutler <ncutler@suse.com>2018-07-09 12:40:46 +0200
committerNathan Cutler <ncutler@suse.com>2018-07-09 14:29:04 +0200
commit458a0a6e6202ee9e976e19d7bc81652bf1b65c95 (patch)
tree02bf1546529d3779adaa26c7e7746f96d3d6557a
parentcleanup: run-make-check.sh: no space between -D and name of cmake option (diff)
downloadceph-458a0a6e6202ee9e976e19d7bc81652bf1b65c95.tar.xz
ceph-458a0a6e6202ee9e976e19d7bc81652bf1b65c95.zip
run-make-check.sh: reset trap after sourcing install-deps.sh
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 <ncutler@suse.com>
-rwxr-xr-xrun-make-check.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/run-make-check.sh b/run-make-check.sh
index d72bf5cfdcb..256df5e5ee8 100755
--- a/run-make-check.sh
+++ b/run-make-check.sh
@@ -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.