miidevs2h: Ignore the first line
The first line hasn't contained version information in years. Ignore it entirely. Sponsored by: Netflix
This commit is contained in:
parent
94b73d30ef
commit
021c4fa6b0
@ -93,16 +93,9 @@ BEGIN {
|
||||
hfile="miidevs.h"
|
||||
}
|
||||
NR == 1 {
|
||||
VERSION = $0
|
||||
gsub("\\$", "", VERSION)
|
||||
|
||||
printf("/* \$FreeBSD\$ */\n\n") > hfile
|
||||
printf("/*\n") > hfile
|
||||
printf(" * THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.\n") \
|
||||
> hfile
|
||||
printf(" *\n") > hfile
|
||||
printf(" * generated from:\n") > hfile
|
||||
printf(" *\t%s\n", VERSION) > hfile
|
||||
printf(" */\n") > hfile
|
||||
|
||||
next
|
||||
|
Loading…
Reference in New Issue
Block a user