mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
usbdevs2h: Ignore First Line and stop generating $FreeBSD$
Just ignore the first line of the usbdevs file. And stop recording what the usbdevs* files were generated from. It's said '$FreeBSD$' for years now... Sponsored by: Netflix
This commit is contained in:
parent
bf46512a54
commit
94b73d30ef
1 changed files with 0 additions and 5 deletions
|
|
@ -45,9 +45,6 @@ function header(file)
|
|||
printf("/*\n") > file
|
||||
printf(" * THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.\n") \
|
||||
> file
|
||||
printf(" *\n") > file
|
||||
printf(" * generated from:\n") > file
|
||||
printf(" *\t%s\n", VERSION) > file
|
||||
printf(" */\n") > file
|
||||
}
|
||||
|
||||
|
|
@ -234,8 +231,6 @@ line=0;
|
|||
while ((getline < srcfile) > 0) {
|
||||
line++;
|
||||
if (line == 1) {
|
||||
VERSION = $0
|
||||
gsub("\\$", "", VERSION)
|
||||
if (dfile)
|
||||
header(dfile)
|
||||
if (hfile)
|
||||
|
|
|
|||
Loading…
Reference in a new issue