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

[dunecontrol]

fix broken assignment after changing the naming of SORT_*_DONE_*

[[Imported from SVN: r6843]]
parent 63fd6b0d
No related branches found
No related tags found
No related merge requests found
......@@ -341,7 +341,7 @@ _sort_module() {
echo "ERROR: invalid module name $module" >&2
exit 1
fi
if test "x$(eval echo \$SORT_$mode_DONE_$module)" != "xyes"; then
if test "x$(eval echo \$SORT_${mode}_DONE_$module)" != "xyes"; then
# resolve dependencies
depmode=$(test $mode = SUGS && echo SUGS || echo DEPS)
_check_deps $module DEPS $depmode # it might happen that the DEPS are actually SUGS
......@@ -349,7 +349,7 @@ _sort_module() {
_check_deps $module SUGS SUGS
# insert this module into the list
export SORTEDMODULES_$mode="$(eval echo \$SORTEDMODULES_$mode) $module"
export SORT_$mode_DONE_$module=yes
export SORT_${mode}_DONE_$module=yes
if test $mode = DEPS; then
# it is sufficient to check that the module hasn't been handled yet,
# as dependencies are handled before suggestions
......
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