summaryrefslogtreecommitdiffstats
path: root/install/sd-vconsole
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2014-03-06 01:09:07 +0100
committerThomas Bächler <thomas@archlinux.org>2014-03-06 01:09:07 +0100
commitddd22ae9cac387588c6e24d7a7f7c64e8a212d7f (patch)
treefdfdbc8065703a9e4b5bd8464e849869e127462f /install/sd-vconsole
parentbbda33a25dc5f0da89f92fb30aaa40d88b7f06ac (diff)
downloadmkinitcpio-ddd22ae9cac387588c6e24d7a7f7c64e8a212d7f.tar.gz
mkinitcpio-ddd22ae9cac387588c6e24d7a7f7c64e8a212d7f.tar.xz
Fix adding console font in sd-vconsole hook.
Fixes FS#38603.
Diffstat (limited to 'install/sd-vconsole')
-rw-r--r--install/sd-vconsole8
1 files changed, 4 insertions, 4 deletions
diff --git a/install/sd-vconsole b/install/sd-vconsole
index c382991..011856d 100644
--- a/install/sd-vconsole
+++ b/install/sd-vconsole
@@ -4,21 +4,21 @@ get_decompressor() {
case "$1" in
*.gz)
cat=zcat
- of=${f%.gz}
+ of=${1%.gz}
;;
*.bz2)
cat=bzcat
- of=${f%.bz2}
+ of=${1%.bz2}
;;
*)
cat=cat
- of=$f
+ of=$1
;;
esac
}
add_keymap_file() {
- local cat cmd file rest f of
+ local cat cmd rest f of
while read f; do
get_decompressor "$f"