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

'only' option

[[Imported from SVN: r4592]]
parent 7fc086a0
No related branches found
No related tags found
No related merge requests found
...@@ -87,6 +87,9 @@ sort_modules() { ...@@ -87,6 +87,9 @@ sort_modules() {
for m in "$@"; do for m in "$@"; do
_sort_module $m _sort_module $m
done done
if test x"$ONLY" != x; then
SORTEDMODULES=$ONLY
fi
export MODULES=$SORTEDMODULES export MODULES=$SORTEDMODULES
} }
...@@ -390,6 +393,16 @@ while test $# -gt 0; do ...@@ -390,6 +393,16 @@ while test $# -gt 0; do
fi fi
MODULE=$arg MODULE=$arg
;; ;;
--only=*)
if test "x$arg" == "x"; then
usage
echo "ERROR: Parameter for --only is missing"
echo
exit 1;
fi
ONLY=$arg
MODULE=$arg
;;
--debug) true ;; --debug) true ;;
*) *)
command=$option command=$option
......
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