Bug#284223: Corrected patch
Sorry, sorry, I corrected once the problem, and checked the patch,
corrected on a 2nd machine, but didn't check it, and, of course, I made
a mistake and sent the 2nd patch. Here is the correct patch.
Cheers, Eric
--
Gewalt ist die letzte Zuflucht der Inkompetenz.
Violence is the Last Resort of the Incompetent.
Gwalt jest ostatnem schronieniem niekompetencji.
La violence est le dernier refuge de l'incompetence.
~ Isaac Asimov
--- discover.ORIG 2004-12-04 18:20:03.000000000 +0100
+++ discover 2004-12-04 19:06:50.000000000 +0100
@@ -156,7 +156,8 @@
continue
fi
- MAPPED=$(eval "echo \$map_$MODULE")
+ over=$(echo $MODULE | sed 's/-/_/g')
+ MAPPED=$(eval "echo \$map_$over")
if [ -n "$MAPPED" ]; then
MODULE=$MAPPED
fi
Reply to: