summaryrefslogtreecommitdiff
path: root/script/build/grub
diff options
context:
space:
mode:
Diffstat (limited to 'script/build/grub')
-rwxr-xr-xscript/build/grub2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/build/grub b/script/build/grub
index 5fa47c00..dc489838 100755
--- a/script/build/grub
+++ b/script/build/grub
@@ -45,7 +45,7 @@ build_keymap_configs()
{
for keylayoutfile in "${grubcfgsdir}/keymap/"*.gkb; do
[ -f "${keylayoutfile}" ] || continue
- keymap="${keylayoutfile##${grubcfgsdir}/keymap/}"
+ keymap="${keylayoutfile##"${grubcfgsdir}/keymap/"}"
keymap="${keymap%.gkb}"
printf "keymap %s\n" "${keymap}" > \
"${elfdir}/keymap_${keymap}.cfg" || err "!insert keymap"