From: Harald Hoyer Date: Fri, 18 Feb 2011 08:33:06 +0000 (+0100) Subject: i18n: fixed config file parsing in hostonly mode X-Git-Tag: 009~121 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ebaed7d51f61d331d128037e0b37130c58e957e3;p=thirdparty%2Fdracut.git i18n: fixed config file parsing in hostonly mode I accidently removed some parenthesis. --- diff --git a/modules.d/10i18n/module-setup.sh b/modules.d/10i18n/module-setup.sh index a524d2d08..57a0f9af5 100755 --- a/modules.d/10i18n/module-setup.sh +++ b/modules.d/10i18n/module-setup.sh @@ -68,10 +68,10 @@ install() { for item in $@ do - item=${item/:/ } + item=(${item/:/ }) for map in ${item[1]//,/ } do - map=${map//-/ } + map=(${map//-/ }) value=$(grep "^${map[0]}=" "${item[0]}") value=${value#*=} echo "${map[1]:-${map[0]}}=${value}"