summaryrefslogtreecommitdiff
path: root/usr.sbin/amd/config/newvers.sh
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-02-23 03:41:57 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-02-23 03:41:57 +0000
commite035bd6b97c6e836b2b97bcada5d0911bd6cd052 (patch)
treebd621cb9d800455e3bafd49dd7a4b48d9834a326 /usr.sbin/amd/config/newvers.sh
parent8926308f4e2fb9ea7b05bcda137c73f24bbc9396 (diff)
build host and user is not important
Diffstat (limited to 'usr.sbin/amd/config/newvers.sh')
-rw-r--r--usr.sbin/amd/config/newvers.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.sbin/amd/config/newvers.sh b/usr.sbin/amd/config/newvers.sh
index 44432f829a0..bfd4a67d6ff 100644
--- a/usr.sbin/amd/config/newvers.sh
+++ b/usr.sbin/amd/config/newvers.sh
@@ -37,16 +37,13 @@
# SUCH DAMAGE.
#
# from: @(#)newvers.sh 8.1 (Berkeley) 6/6/93
-# $Id: newvers.sh,v 1.2 1996/10/26 20:10:22 millert Exp $
+# $Id: newvers.sh,v 1.3 1997/02/23 03:41:56 deraadt Exp $
#
PATH=/usr/ucb:/bin:/usr/bin:$PATH
if [ $# -ne 3 ]; then echo "Usage: newvers program arch os" >&2; exit 1; fi
version="version.$1"
if [ ! -r $version ]; then echo 0 > $version; chmod 444 $version; fi
v=`cat $version`
-u=${LOGNAME-${USER-root}}
-h=`hostname`
-#h=`expr "$h" : '\([^.]*\)'`
t=`date`
if [ ! -s "$d../config/RELEASE" -o ! -s "$d../text/COPYRIGHT" ]; then
echo ERROR: config file missing >&2
@@ -74,7 +71,6 @@ sed \
$d../config/RELEASE
cat << %%
#${v}: ${t}\\n\\
-Built by ${u}@${h} for \\
%%
case "$2" in
[aeiou]*) echo "an \\" ;;