You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2012/03/22 19:01:40 UTC

svn commit: r1303936 - /subversion/trunk/tools/dist/release.py

Author: stsp
Date: Thu Mar 22 18:01:39 2012
New Revision: 1303936

URL: http://svn.apache.org/viewvc?rev=1303936&view=rev
Log:
* tools/dist/release.py
  (LibtoolDep): Use less fussy version number check.

Modified:
    subversion/trunk/tools/dist/release.py

Modified: subversion/trunk/tools/dist/release.py
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/dist/release.py?rev=1303936&r1=1303935&r2=1303936&view=diff
==============================================================================
--- subversion/trunk/tools/dist/release.py (original)
+++ subversion/trunk/tools/dist/release.py Thu Mar 22 18:01:39 2012
@@ -300,8 +300,7 @@ class LibtoolDep(RollDep):
         output = self._test_version(['libtool', '--version'])
         if not output: return False
 
-        version = output[0].split()[-1:][0]
-        return version == self._libtool_ver
+        return self._libtool_ver in output[0]
 
     def use_system(self):
         # We unconditionally return False here, to avoid using a borked