Strip non version _number_ bits from HOST_OS_VERSION.

Requested by:	knu
This commit is contained in:
David E. O'Brien 2001-09-06 18:39:46 +00:00
parent 4ce0b9f86d
commit d6432d1f16
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83157

View File

@ -24,7 +24,7 @@ cat << __NO_newvers_sh
#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`"
#define HOST_OS_VERSION "`uname -r | sed -e 's/[-([:alpha:]].*//'`"
__NO_newvers_sh
fi