]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
10i18n/module-setup.sh: optimize install of all kbd files
authorHarald Hoyer <harald@redhat.com>
Sat, 25 Feb 2012 16:18:51 +0000 (17:18 +0100)
committerHarald Hoyer <harald@redhat.com>
Sat, 25 Feb 2012 16:18:51 +0000 (17:18 +0100)
modules.d/10i18n/module-setup.sh

index a5a338852177ce12fd963cdcfdbba5b8fa8469cf..b4c19e1c596cc5d1a86b1058b635b8f33c0b3f93 100755 (executable)
@@ -92,8 +92,8 @@ install() {
     install_all_kbd() {
         local rel f
 
-        for f in $(eval find ${kbddir}/{${KBDSUBDIRS}} -type f -print)
-        do
+        find $(eval echo ${kbddir}/{${KBDSUBDIRS}}) -type f -print | \
+            while read f; do
             inst_simple $f
         done