aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1998-09-10 00:27:57 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1998-09-10 00:27:57 +0000
commitc4e8b7e41ece249a655db67d4914c7222593992b (patch)
treec4a68e870923da6a7dc2bb7a6534504dba73ca39
parent8f748848d898db846a1888dd9970b0745c424847 (diff)
Notes
-rw-r--r--Makefile.inc13
-rw-r--r--usr.sbin/amd/include/newvers.sh4
2 files changed, 3 insertions, 4 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index b7abf1cab58c4..f6dd4cd3d157d 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1,5 +1,5 @@
#
-# $Id: Makefile.inc1,v 1.10 1998/09/09 19:30:20 markm Exp $
+# $Id: Makefile.inc1,v 1.11 1998/09/10 00:13:48 obrien Exp $
#
# Make command line options:
# -DCLOBBER will remove /usr/include
@@ -807,7 +807,6 @@ build-tools:
usr.bin/col \
usr.bin/colldef \
usr.bin/cpp \
- usr.bin/cut \
usr.bin/expand \
usr.bin/file2c \
usr.bin/find \
diff --git a/usr.sbin/amd/include/newvers.sh b/usr.sbin/amd/include/newvers.sh
index 42bcc84544326..84663f03c4989 100644
--- a/usr.sbin/amd/include/newvers.sh
+++ b/usr.sbin/amd/include/newvers.sh
@@ -1,5 +1,5 @@
# $NetBSD: mkconf,v 1.1.1.1 1997/07/24 21:20:12 christos Exp $
-# $Id$
+# $Id: newvers.sh,v 1.1 1998/08/27 08:09:41 obrien Exp $
# mkconf
# Generate local configuration parameters for amd
#
@@ -16,7 +16,7 @@ cat << __EOF
#define HOST_OS "`uname -s | tr '[A-Z]' '[a-z]'``uname -r`"
/* Define only name of host machine OS (eg. solaris2) */
-#define HOST_OS_NAME "`uname -s | tr '[A-Z]' '[a-z]'``uname -r | cut -d. -f 1`"
+#define HOST_OS_NAME "`uname -s | tr '[A-Z]' '[a-z]'``uname -r | sed -e 's/\..*$//'`"
/* Define only version of host machine (eg. 2.5.1) */
#define HOST_OS_VERSION "`uname -r`"