Escape $FreeBSD$ in a different way to avoid using the bogus escapes \$
and \F. Awk just started warning about these.
This commit is contained in:
parent
f52150f696
commit
0878983ab4
@ -75,24 +75,24 @@ s/\$//g
|
||||
|
||||
printf "/*\n * System call switch table.\n *\n" > syssw
|
||||
printf " * DO NOT EDIT-- this file is automatically generated.\n" > syssw
|
||||
printf " * \$\FreeBSD\$\n" > syssw
|
||||
printf " * $%s$\n", "FreeBSD" > syssw
|
||||
|
||||
printf "/*\n * System call prototypes.\n *\n" > sysarg
|
||||
printf " * DO NOT EDIT-- this file is automatically generated.\n" > sysarg
|
||||
printf " * \$\FreeBSD\$\n" > sysarg
|
||||
printf " * $%s$\n", "FreeBSD" > sysarg
|
||||
|
||||
printf "\n#ifdef %s\n\n", compat > syscompat
|
||||
|
||||
printf "/*\n * System call names.\n *\n" > sysnames
|
||||
printf " * DO NOT EDIT-- this file is automatically generated.\n" > sysnames
|
||||
printf " * \$\FreeBSD\$\n" > sysnames
|
||||
printf " * $%s$\n", "FreeBSD" > sysnames
|
||||
|
||||
printf "/*\n * System call numbers.\n *\n" > syshdr
|
||||
printf " * DO NOT EDIT-- this file is automatically generated.\n" > syshdr
|
||||
printf " * \$\FreeBSD\$\n" > syshdr
|
||||
printf " * $%s$\n", "FreeBSD" > syshdr
|
||||
printf "# FreeBSD system call names.\n" > sysmk
|
||||
printf "# DO NOT EDIT-- this file is automatically generated.\n" > sysmk
|
||||
printf "# \$\FreeBSD\$\n" > sysmk
|
||||
printf " * $%s$\n", "FreeBSD" > sysmk
|
||||
}
|
||||
NR == 1 {
|
||||
gsub("[$]FreeBSD: ", "", $0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user