Bug#227691: modconf: I can't enter in kernel/drivers/net section
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
tags 227691 + patch
thanks
The module descriptions in /usr/share/modconf/eval_C contain escaped double
quotes which are interprited incorrectly at runtime. The attached patch
fixed the problem at runtime by passing the dscriptions though sed. A better
approach would be to double escape the quotes when eval_C and friends are
built since piping all the descriptions through sed produces a noticeable
(for me) delay.
John
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAH+73BYeybkXz+/kRAgOSAJ9lx5KvjS0AQpX254pXU/RsCr9z9wCghcBh
1yQaeDKq/Gq6VvHSoxrT8hc=
=NuOi
-----END PGP SIGNATURE-----
--- util.orig 2004-02-03 12:41:30.000000000 -0600
+++ util 2004-02-03 12:42:12.000000000 -0600
@@ -129,6 +129,7 @@
eval "summary=$`echo -e summary_$modulevarname`"
if [ -n "$summary" ]; then
+ summary=`echo -n $summary | sed -e 's/\"/\\\"/g'`
echo -n "$summary"
else
echo -n "$msg_Desc_not_avail"
Reply to: