]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
i18n/parse-i18n.sh: fixed typo s/$key/$_key
authorHarald Hoyer <harald@redhat.com>
Mon, 28 Apr 2014 10:47:45 +0000 (12:47 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 28 Apr 2014 10:47:45 +0000 (12:47 +0200)
Thanks xtraeme!

modules.d/10i18n/parse-i18n.sh

index 135c57b5bce2e89bf9334feb83779ae12d7982f6..8f256fa9b43699f529363fab0126f3176c9f6035 100755 (executable)
@@ -12,7 +12,7 @@ inst_key_val() {
     _value="$(getarg $@)"
     [ -z "${_value}" ] && _value=$_default
     if [ -n "${_value}" ]; then
-        printf '%s="%s"\n' $key ${_value} >> $_file
+        printf '%s="%s"\n' ${_key} ${_value} >> $_file
     fi
     unset _file
     unset _value