--- /usr/lib/initcpio/install/sd-vconsole 2013-12-16 01:33:43.000000000 +0200 +++ ./sd-vconsole 2014-01-21 16:46:03.205523698 +0200 @@ -18,7 +18,7 @@ } add_keymap_file() { - local cat cmd file rest f of + local cat cmd rest f of while read f; do get_decompressor "$f" @@ -49,10 +49,10 @@ [[ $KEYMAP_TOGGLE ]] && add_keymap_file $KEYMAP_TOGGLE.map if [[ $FONT ]]; then - for file in "/usr/share/kbd/consolefonts/$FONT".@(fnt|psf?(u))?(.gz); do - get_decompressor "$file" + for f in "/usr/share/kbd/consolefonts/$FONT".@(fnt|psf?(u))?(.gz); do + get_decompressor "$f" add_dir "${of%/*}" - $cat "$file" > "$BUILDROOT/$of" + $cat "$f" > "$BUILDROOT/$of" done fi )