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

[dunecontrol]

only update the module mode if it not DEPS, which is the

[[Imported from SVN: r6858]]
parent 85994b29
No related branches found
No related tags found
No related merge requests found
......@@ -263,6 +263,7 @@ sort_modules() {
export SORTEDMODULES_MAIN
# clean up temporary variables
for m in $MODULES; do
export MODE_$m=""
export SORT_DONE_$m=""
export SORT_DEPS_DONE_$m=""
export SORT_SUGS_DONE_$m=""
......@@ -394,7 +395,9 @@ _sort_module() {
# resolve suggestions
_check_deps $module SUGS SUGS
# remember mode of the module
export MODE_$module=$mode
if eval test "x\$MODE_$module" = xSUGS -o "x\$MODE_$module" = x; then
export MODE_$module=$mode
fi
# topological list of the module and its dependencies/suggestions
if eval test "x\$SORT_DONE_$module" != "xyes"; then
export SORT_DONE_$module=yes
......
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