summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/stand/boot/newvers.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/alpha/stand/boot/newvers.sh')
-rw-r--r--sys/arch/alpha/stand/boot/newvers.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/alpha/stand/boot/newvers.sh b/sys/arch/alpha/stand/boot/newvers.sh
index a65d3cfb37d..605d7141d93 100644
--- a/sys/arch/alpha/stand/boot/newvers.sh
+++ b/sys/arch/alpha/stand/boot/newvers.sh
@@ -1,7 +1,7 @@
#!/bin/sh -
#
-# $OpenBSD: newvers.sh,v 1.4 1996/07/31 16:24:12 niklas Exp $
-# $NetBSD: newvers.sh,v 1.2 1995/11/23 02:39:48 cgd Exp $
+# $OpenBSD: newvers.sh,v 1.5 1996/10/30 22:40:44 niklas Exp $
+# $NetBSD: newvers.sh,v 1.3 1996/06/14 20:03:04 cgd Exp $
#
# Copyright (c) 1984, 1986, 1990, 1993
# The Regents of the University of California. All rights reserved.
@@ -37,9 +37,9 @@
# @(#)newvers.sh 8.1 (Berkeley) 4/20/94
u=${USER-root} h=`hostname` t=`date`
-r=`head -1 $1`
+r=`head -1 $1 | awk ' { print $3 } '`
-echo "char bootprog_name[] = \"OpenBSD/Alpha boot\";" > vers.c
+echo "char bootprog_name[] = \"OpenBSD/Alpha Secondary Boot\";" > vers.c
echo "char bootprog_rev[] = \"${r}\";" >> vers.c
echo "char bootprog_date[] = \"${t}\";" >> vers.c
echo "char bootprog_maker[] = \"${u}@${h}\";" >> vers.c