From db75a95f706bbe684c7f305d44045a63f78b1276 Mon Sep 17 00:00:00 2001 From: Christian Engwer <christi@dune-project.org> Date: Mon, 9 Jul 2012 10:17:41 +0000 Subject: [PATCH] [dunecontrol] fix broken assignment after changing the naming of SORT_*_DONE_* [[Imported from SVN: r6843]] --- lib/dunemodules.lib | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dunemodules.lib b/lib/dunemodules.lib index bd5931c0b..8073cdd66 100644 --- a/lib/dunemodules.lib +++ b/lib/dunemodules.lib @@ -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 -- GitLab