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

[dunecontrol]

Add new command bexec, a copy of exec with executes the given commands
in the build directory.

[[Imported from SVN: r6984]]
parent 36dcb350
No related branches found
No related tags found
No related merge requests found
......@@ -221,7 +221,7 @@ esac'
}
# list of all dunecontrol commands
COMMANDS="printdeps update autogen configure make all exec status svn"
COMMANDS="printdeps update autogen configure make all exec bexec status svn"
# help string for the commands
printdeps_HELP="print recursive dependencies of a module"
......@@ -230,7 +230,8 @@ autogen_HELP="run the autogen.sh script for each module. Does nothing, if CMake
configure_HELP="run configure or cmake for each module"
make_HELP="run make for each module"
all_HELP="\trun 'autogen', 'configure' and 'make' command for each module"
exec_HELP="execute an arbitrary command in each module directory"
exec_HELP="execute an arbitrary command in each module source directory"
bexec_HELP="execute an arbitrary command in each module build directory"
status_HELP="show vc status for all modules"
svn_HELP="\trun svn command for each svn managed module"
......@@ -250,6 +251,8 @@ done
run_default_exec () { bash -c "eval $CMD_FLAGS"; }
run_default_bexec () { bash -c "cd "$BUILDDIR" && eval $CMD_FLAGS"; }
run_default_status () {
local verbose=0
local update=""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment