]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Regen configure
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 21 May 2015 23:15:43 +0000 (19:15 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 21 May 2015 23:15:43 +0000 (19:15 -0400)
configure

index 1b117cd89cbff28c400b4ee8f10aea9132350f2e..b78826d95c2d5991590f6908fe1bc7941a3fe63a 100755 (executable)
--- a/configure
+++ b/configure
@@ -2418,10 +2418,9 @@ ac_config_headers="$ac_config_headers src/include/autoconf.h"
 
 
 
-
-RADIUSD_MAJOR_VERSION=`cat VERSION | sed 's/\..*//'`
-RADIUSD_MINOR_VERSION=`cat VERSION | sed 's/^[^\.]*\.//' | sed 's/\..*$//'`
-RADIUSD_INCRM_VERSION=`cat VERSION | sed 's/^.*\..*\.//' | sed 's/[\.-].*$//'`
+RADIUSD_MAJOR_VERSION=`cat VERSION | cut -f1 -d.`
+RADIUSD_MINOR_VERSION=`cat VERSION | cut -f2 -d.`
+RADIUSD_INCRM_VERSION=`cat VERSION | cut -f3 -d. | sed 's/[\.-].*$//'`
 
 RADIUSD_VERSION=`echo | awk -v major="$RADIUSD_MAJOR_VERSION" \
 -v minor="$RADIUSD_MINOR_VERSION" \