mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 02:22:43 +00:00
Strip non version _number_ bits from HOST_OS_VERSION.
Requested by: knu
This commit is contained in:
parent
4ce0b9f86d
commit
d6432d1f16
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83157
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user