Skip to content
Snippets Groups Projects
Commit 7187bf74 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

[dunecontrol] Skip bexec for a module if build directory is not found instead of exiting.

parent 9c5b3d0d
No related branches found
No related tags found
No related merge requests found
......@@ -252,7 +252,13 @@ done
run_default_exec () { bash -c "eval $CMD_FLAGS"; }
run_default_bexec () { bash -c "cd "$BUILDDIR" && eval $CMD_FLAGS"; }
run_default_bexec () {
if test -d "$BUILDDIR"; then
bash -c "cd \"$BUILDDIR\" && eval $CMD_FLAGS";
else
eval echo "Build directory \\\"$BUILDDIR\\\" not found, skipping bexec for \$NAME_${module}"
fi
}
run_default_status () {
local verbose=0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment