aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/makesyscalls.sh
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1995-09-19 13:50:26 +0000
committerBruce Evans <bde@FreeBSD.org>1995-09-19 13:50:26 +0000
commitd60a9ca6ab61ec1e542579c760fa9e4ff0c5ea09 (patch)
treee1324f4b7fac3b7d0d389e842388ff9eda3a88e8 /sys/kern/makesyscalls.sh
parent3cb43dbdaff8ac54124452ca06a8a7bf7996551b (diff)
downloadsrc-d60a9ca6ab61ec1e542579c760fa9e4ff0c5ea09.tar.gz
src-d60a9ca6ab61ec1e542579c760fa9e4ff0c5ea09.zip
Oops. Avoid literal $Id in an awk string to stop cvs from substituting it.
Notes
Notes: svn path=/head/; revision=10906
Diffstat (limited to 'sys/kern/makesyscalls.sh')
-rw-r--r--sys/kern/makesyscalls.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/makesyscalls.sh b/sys/kern/makesyscalls.sh
index ba27763478f2..020c5de2e706 100644
--- a/sys/kern/makesyscalls.sh
+++ b/sys/kern/makesyscalls.sh
@@ -1,6 +1,6 @@
#! /bin/sh -
# @(#)makesyscalls.sh 8.1 (Berkeley) 6/10/93
-# $Id: makesyscalls.sh,v 1.12 1995/03/16 18:12:39 bde Exp $
+# $Id: makesyscalls.sh,v 1.13 1995/09/19 13:30:51 bde Exp $
set -e
@@ -59,8 +59,8 @@ awk < $1 "
printf " * DO NOT EDIT-- this file is automatically generated.\n" > syshide
}
NR == 1 {
- gsub("\\$Id: ", "", $0)
- gsub(" \\$", "", $0)
+ gsub("[$]Id: ", "", $0)
+ gsub(" [$]", "", $0)
printf " * created from%s\n */\n\n", $0 > sysent
printf "#include <sys/param.h>\n" > sysent
printf "#include <sys/sysent.h>\n" > sysent