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:
Maxim Sobolev 2001-05-12 09:19:36 +00:00
parent b010fac286
commit 87dc3f46be
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76503
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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