diff --git a/bin/dunecontrol b/bin/dunecontrol index b7a87ea8b6e9ef455f31790ffe3223ac44abe9e0..2b72260637fc57d972d50636a9a0a99444109f21 100755 --- a/bin/dunecontrol +++ b/bin/dunecontrol @@ -776,7 +776,7 @@ case "$command" in #check whether there is a dependency version case "$sugs" in '('*) sugs="${sugs#(}" - depver="${sugs%%)*}" + sugsver="${sugs%%)*}" sugs="${sugs#*)}" ;; *) sugver= @@ -786,7 +786,7 @@ case "$command" in sugs=`echo "$sugs" | sed 's/^[, ]*//'` suggests="$suggests $sugsname" - suggestsall="$suggests $sugsname $sugsver " + suggestsall="$suggestsall $sugsname $sugsver " done # ensure a version number if test "x$version" = "x"; then version="0.0"; fi