Skip to content
Snippets Groups Projects
Commit 6f7bba33 authored by Christian Engwer's avatar Christian Engwer
Browse files

fixed option --only

[[Imported from SVN: r4659]]
parent 53f53a0f
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,11 @@ build_modules() {
command=$1
load_opts $command
local runcommand=run_$command
for module in $MODULES; do
modules=$MODULES
if test x"$ONLY" != x; then
modules=$ONLY
fi
for module in $modules; do
local path=$(eval "echo \$PATH_${module}")
eval echo "--- calling $command for \$NAME_${module} ---"
if ! (
......
......@@ -103,9 +103,6 @@ sort_modules() {
exit 1
fi
done
if test x"$ONLY" != x; then
SORTEDMODULES=$ONLY
fi
export MODULES=$SORTEDMODULES
}
......
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