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>
(cherry picked from commit
458a0a6e6202ee9e976e19d7bc81652bf1b65c95)
Signed-off-by: Jonathan Brielmaier <jbrielmaier@suse.de>
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.