path: root/utils
diff options
authorOlivier Korn <olivier.korn@reglisse.net>2009-02-10 11:23:08 +0100
committerH. Peter Anvin <hpa@zytor.com>2009-02-10 09:35:58 -0800
commit09f2a2a5a328259db37d56286001a7ee67a0480f (patch)
treede624195b946a922ec14f3ef253c22c7872fb552 /utils
parente563276370ebbff8d82f6c1a1050b2d02e491af7 (diff)
Fix minor errors in keytab-lilo
H. Peter Anvin wrote: > Thanks for the warning. I have updated keytab-lilo in the git tree with > keytab-lilo.pl from LILO 22.8. Thank you H. Peter. I just checked it and the new version doesn't work "out of the box". It says... syntax error at keytab-lilo line 4, near "eval " Execution of keytab-lilo aborted due to compilation errors. Furthermore, after correcting lines 3 and 4 (which are responsible of the above error), keyboard maps can't be found (by loadkeys utility) because of an added bad extension (.map instead of .kmap). Attached is a patch I wrote in order to make it fully work (apply it against the version of keytab-lilo which is now in the git tree).
Diffstat (limited to 'utils')
1 files changed, 5 insertions, 5 deletions
diff --git a/utils/keytab-lilo b/utils/keytab-lilo
index fd58e004..9e341605 100755
--- a/utils/keytab-lilo
+++ b/utils/keytab-lilo
@@ -1,17 +1,17 @@
-eval { use bytes; }
-eval { binmode STDOUT; }
+eval { use bytes; };
+eval { binmode STDOUT; };
$DEFAULT_MAP = "us";
-$DEFAULT_EXT = ".map";
+$DEFAULT_EXT = ".kmap";
sub usage
print STDERR
"usage: $0 [ -p old_code=new_code ] ...\n".
- (" "x(8+length $0))."[path]default_layout[.map] ] ".
- "[path]kbd_layout[.map]\n";
+ (" "x(8+length $0))."[path]default_layout[.kmap] ] ".
+ "[path]kbd_layout[.kmap]\n";
exit 1;