[phodav] build-sys: fix WINDOWS_PRODUCTVERSION when micro is git version



commit 72db6011fa7ffb25925e7ba604e3a72838685c5c
Author: Marc-André Lureau <marcandre lureau gmail com>
Date:   Mon Feb 9 15:54:46 2015 +0100

    build-sys: fix WINDOWS_PRODUCTVERSION when micro is git version

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index f0c377b..0fe907e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -138,7 +138,7 @@ fi
 
 major=`echo $PACKAGE_VERSION | cut -d. -f1`
 minor=`echo $PACKAGE_VERSION | cut -d. -f2`
-micro=`echo $PACKAGE_VERSION | cut -d. -f3`
+micro=`echo $PACKAGE_VERSION | cut -d. -f3 | cut -d- -f1`
 buildid=`echo $with_buildid | cut -d. -f1`
 if test "x$buildid" = x; then
   buildid=0


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]