From: Ruediger Meier Date: Thu, 17 Nov 2016 02:10:00 +0000 (+0100) Subject: build-sys: cosmetics PACKAGE_VERSION_MINOR X-Git-Tag: v2.30-rc1~400 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f0972ac6bab5856e26d7def29f80c5ce424efbd;p=thirdparty%2Futil-linux.git build-sys: cosmetics PACKAGE_VERSION_MINOR This should changes nothing. Signed-off-by: Ruediger Meier --- diff --git a/configure.ac b/configure.ac index eb479cbaca..7f4f79e153 100644 --- a/configure.ac +++ b/configure.ac @@ -21,8 +21,8 @@ AC_PREFIX_DEFAULT([/usr]) dnl version details from .[-] PACKAGE_VERSION_MAJOR=$(echo $PACKAGE_VERSION | awk -F. '{print $1}') -PACKAGE_VERSION_MINOR=$(echo $PACKAGE_VERSION | awk -F. '{print $2}' \ - | awk -F- '{print $1}') +PACKAGE_VERSION_MINOR=$(echo $PACKAGE_VERSION | awk -F. '{ + sub("-.*","",$2); print $2}') PACKAGE_VERSION_RELEASE=$(echo $PACKAGE_VERSION | awk -F. '{ sub("-.*","",$3); print $3 ~ /^@<:@[0-9]@:>@+$/ ? $3 : 0}')