gtkglarea r93 - trunk



Author: samh
Date: Thu Mar  6 19:12:39 2008
New Revision: 93
URL: http://svn.gnome.org/viewvc/gtkglarea?rev=93&view=rev

Log:
  * Support for automake 1.10.1 in autogen.sh. The second comma was triggering
    a shell test error.


Modified:
   trunk/autogen.sh

Modified: trunk/autogen.sh
==============================================================================
--- trunk/autogen.sh	(original)
+++ trunk/autogen.sh	Thu Mar  6 19:12:39 2008
@@ -22,8 +22,8 @@
 }
 
 # checking for automake 1.9+
-am_version=`automake --version | cut -f 4 -d ' ' | head -n 1`
-if [ "${am_version##1.}" -lt 9 ]; then
+am_version=`automake --version | head -n 1 | cut -f2- -d1 | cut -f2 -d.`
+if [ "${am_version}" -lt 9 ]; then
 	echo "**Error**: automake 1.9+ required.";
 	exit 1;
 fi



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