Take keyboard map files from ${.CURDIR}/../../share/syscons/keymaps, not from
/usr/share/syscons/keymaps. This should prevent word breakage when new keymaps have been added. Prompted by: Matthew D. Fuller <fullermd@over-yonder.net>
This commit is contained in:
parent
b010fac286
commit
87dc3f46be
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76503
@ -84,7 +84,8 @@ KEYMAPS= be.iso br275.iso danish.iso finnish.iso fr.iso \
|
||||
keymap.h:
|
||||
rm -f keymap.tmp
|
||||
for map in ${KEYMAPS} ; do \
|
||||
kbdcontrol -L $$map | \
|
||||
env KEYMAP_PATH=${.CURDIR}/../../share/syscons/keymaps \
|
||||
kbdcontrol -L $$map | \
|
||||
sed -e '/^static accentmap_t/,$$d' >> keymap.tmp ; \
|
||||
done
|
||||
echo "static struct keymapInfo keymapInfos[] = {" >> keymap.tmp
|
||||
|
@ -84,7 +84,8 @@ KEYMAPS= be.iso br275.iso danish.iso finnish.iso fr.iso \
|
||||
keymap.h:
|
||||
rm -f keymap.tmp
|
||||
for map in ${KEYMAPS} ; do \
|
||||
kbdcontrol -L $$map | \
|
||||
env KEYMAP_PATH=${.CURDIR}/../../share/syscons/keymaps \
|
||||
kbdcontrol -L $$map | \
|
||||
sed -e '/^static accentmap_t/,$$d' >> keymap.tmp ; \
|
||||
done
|
||||
echo "static struct keymapInfo keymapInfos[] = {" >> keymap.tmp
|
||||
|
Loading…
Reference in New Issue
Block a user