summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2013-06-04 18:57:03 +0200
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2013-06-04 23:01:35 +0200
commitd572326a2f5dbf2254edd304608086d12c09c5d7 (patch)
tree1d098e5fc25c5a058f66b810e6edb85b8c40b515
parentd1c7f82a64b4455fc47f9d61ba373ba8086c4527 (diff)
downloadlasso-d572326a2f5dbf2254edd304608086d12c09c5d7.tar.gz
lasso-d572326a2f5dbf2254edd304608086d12c09c5d7.tar.xz
lasso-d572326a2f5dbf2254edd304608086d12c09c5d7.zip
configure.ac: do not passe the full version suffix as the release number
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 32dfce1c..3d9e5a14 100644
--- a/configure.ac
+++ b/configure.ac
@@ -160,7 +160,7 @@ dnl ==========================================================================
changequote(<<, >>)dnl
VERSION_MAJOR=`echo $VERSION | $SED -e 's/^\([^\.]*\)\.\([^\.]*\)\.\(.*\)$/\1/'`
VERSION_MINOR=`echo $VERSION | $SED -e 's/^\([^\.]*\)\.\([^\.]*\)\.\(.*\)$/\2/'`
-VERSION_RELEASE=`echo $VERSION | $SED -e 's/^\([^\.]*\)\.\([^\.]*\)\.\(.*\)$/\3/'`
+VERSION_RELEASE=`echo $VERSION | $SED -e 's/^\([^\.]*\)\.\([^\.]*\)\.\([0-9]*\).*$/\3/'`
changequote([, ])dnl
VERSION_UNDERSCORED=`echo $VERSION | $SED -e 's/\./_/g'`
AC_SUBST(VERSION_UNDERSCORED)