i18n/module-setup.sh: fixed include parsing
authorStefan Reimer <it@startux.de>
Tue, 31 Jul 2012 09:36:17 +0000 (11:36 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 31 Jul 2012 09:36:17 +0000 (11:36 +0200)
Due to bug in module-setup.sh in the i18n module includes from the main
keymap are not working and not added to the initrd image.

Only one quotation per line is removed. Needs to remove all.

modules.d/10i18n/module-setup.sh

index cf5ad96..df6e5b1 100755 (executable)
@@ -31,7 +31,7 @@ install() {
             *) cmd=grep ;;
         esac
 
-        for INCL in $($cmd "^include " $MAP | while read a a b; do echo ${a/\"/}; done); do
+        for INCL in $($cmd "^include " $MAP | while read a a b; do echo ${a//\"/}; done); do
             for FN in $(find ${kbddir}/keymaps -type f -name $INCL\*); do
                 findkeymap $FN
             done