Strip non version _number_ bits from HOST_OS_VERSION.
Requested by: knu
This commit is contained in:
parent
a8e78b194e
commit
577f5ce9db
@ -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