Blame 0011-10i18n-module-setup.sh-optimize-install-of-all-kbd-f.patch

Harald Hoyer 66318b
From cf38fc7389d4136d0f77d9709c87acc4283f6bd6 Mon Sep 17 00:00:00 2001
Harald Hoyer 66318b
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer 66318b
Date: Sat, 25 Feb 2012 17:18:51 +0100
Harald Hoyer 66318b
Subject: [PATCH] 10i18n/module-setup.sh: optimize install of all kbd files
Harald Hoyer 66318b
Harald Hoyer 66318b
---
Harald Hoyer 66318b
 modules.d/10i18n/module-setup.sh |    4 ++--
Harald Hoyer 66318b
 1 files changed, 2 insertions(+), 2 deletions(-)
Harald Hoyer 66318b
Harald Hoyer 66318b
diff --git a/modules.d/10i18n/module-setup.sh b/modules.d/10i18n/module-setup.sh
Harald Hoyer 66318b
index a5a3388..b4c19e1 100755
Harald Hoyer 66318b
--- a/modules.d/10i18n/module-setup.sh
Harald Hoyer 66318b
+++ b/modules.d/10i18n/module-setup.sh
Harald Hoyer 66318b
@@ -92,8 +92,8 @@ install() {
Harald Hoyer 66318b
     install_all_kbd() {
Harald Hoyer 66318b
         local rel f
Harald Hoyer 66318b
 
Harald Hoyer 66318b
-        for f in $(eval find ${kbddir}/{${KBDSUBDIRS}} -type f -print)
Harald Hoyer 66318b
-        do
Harald Hoyer 66318b
+        find $(eval echo ${kbddir}/{${KBDSUBDIRS}}) -type f -print | \
Harald Hoyer 66318b
+            while read f; do
Harald Hoyer 66318b
             inst_simple $f
Harald Hoyer 66318b
         done
Harald Hoyer 66318b