* util/grub-kbdcomp.in: Add missing transform and bindir variables.

Reported by: nebuchadnezzar.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-01-10 23:31:27 +01:00
parent dcb883b162
commit a508e77642
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2011-01-10 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-kbdcomp.in: Add missing transform and bindir variables.
Reported by: nebuchadnezzar.
2011-01-10 Vladimir Serbinenko <phcoder@gmail.com> 2011-01-10 Vladimir Serbinenko <phcoder@gmail.com>
Submenu default support. Submenu default support.

View file

@ -1,5 +1,9 @@
#!/bin/sh #!/bin/sh
transform="@program_transform_name@"
bindir="@bindir@"
grub_mklayout=${bindir}/`echo grub-mklayout | sed ${transform}` grub_mklayout=${bindir}/`echo grub-mklayout | sed ${transform}`
ckbcomp "$@" | $grub_mklayout -o "$1".gkb ckbcomp "$@" | $grub_mklayout -o "$1".gkb