diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-09-16 08:10:42 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-09-16 08:10:42 +0000 |
commit | b21577dc6f81936c7128437e0473d562be0d2194 (patch) | |
tree | 3837c7ad47639ec6cf6010c1e9df34c7f9419beb /sys/conf/newvers.sh | |
parent | a8b7fb1522e8b46243683a6b73555a5fcccce4f9 (diff) |
give up on putting the sccs[] variable before the version[] string.
often, compiler alignment frobbing causes this to fail. instead, just
form our own sccs[] string.
Diffstat (limited to 'sys/conf/newvers.sh')
-rw-r--r-- | sys/conf/newvers.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh index f68e1bd5daf..55124a1be7b 100644 --- a/sys/conf/newvers.sh +++ b/sys/conf/newvers.sh @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: newvers.sh,v 1.44 2002/09/10 21:36:57 deraadt Exp $ +# $OpenBSD: newvers.sh,v 1.45 2002/09/16 08:10:41 deraadt Exp $ # $NetBSD: newvers.sh,v 1.17.2.1 1995/10/12 05:17:11 jtc Exp $ # # Copyright (c) 1984, 1986, 1990, 1993 @@ -71,7 +71,8 @@ cat >vers.c <<eof const char ostype[] = "${ost}"; const char osrelease[] = "${osr}"; const char osversion[] = "${id}#${v}"; -const char sccs[8] = { ' ', ' ', ' ', ' ', '@', '(', '#', ')' }; +const char sccs[] = + " @(#)${ost} ${osr}-beta (${id}) #${v}: ${t}\n"; const char version[] = "${ost} ${osr}-beta (${id}) #${v}: ${t}\n ${u}@${h}:${d}\n"; eof |