mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
1 changed files with 0 additions and 7 deletions
|
|
@ -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 a new issue