[gnome-python-desktop] Bug 614310 - bug-buddy 2.30 not found by configure script



commit 8a66e50c9e226a52636cdd0a5d75b427a71303d4
Author: Vincent Untz <vuntz gnome org>
Date:   Tue Mar 30 18:20:09 2010 +0100

    Bug 614310 - bug-buddy 2.30 not found by configure script

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index bd28d44..d47bd71 100644
--- a/configure.ac
+++ b/configure.ac
@@ -384,7 +384,7 @@ if $build_bugbuddy; then
 	AC_PATH_PROG(BUG_BUDDY, bug-buddy)
 	if test "x$BUG_BUDDY" != "x"; then 
 	  AC_MSG_CHECKING([whether bug-buddy >= 2.16])
-	  if $BUG_BUDDY --version | $PYTHON -c ["import sys; sys.exit([int(s) for s in sys.stdin.read().split()[2].split('.')] < [2,16])"]; then
+	  if $BUG_BUDDY --version | $PYTHON -c ["import sys; sys.exit([int(s) for s in sys.stdin.read().split()[-1].split('.')] < [2,16])"]; then
 	    AC_MSG_RESULT([yes])
 	    build_bugbuddy=true
 	  else



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