wok-current diff syslinux/stuff/tools/keytab-lilo.pl.u @ rev 20892

Remove ashism ==
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 26 09:14:07 2019 +0100 (2019-02-26)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/syslinux/stuff/tools/keytab-lilo.pl.u	Tue Feb 26 09:14:07 2019 +0100
     1.3 @@ -0,0 +1,10 @@
     1.4 +--- syslinux-3.63/keytab-lilo.pl
     1.5 ++++ syslinux-3.63/keytab-lilo.pl
     1.6 +@@ -66,5 +66,5 @@
     1.7 + 	chop;
     1.8 +-	if (/^u_short\s+(\S+)_map\[\S+\]\s+=\s+{\s*$/) {
     1.9 ++	if (/^(static\s+)?u_short\s+(\S+)_map\[\S+\]\s+=\s+{\s*$/) {
    1.10 + 	    die "active at beginning of map" if defined $current;
    1.11 +-	    $current = $pfx.":".$1;
    1.12 ++	    $current = $pfx.":".$2;
    1.13 + 	    next;