[cig-commits] r18358 - cs/buildbot/trunk/buildbot

brad at geodynamics.org brad at geodynamics.org
Thu May 12 19:54:00 PDT 2011


Author: brad
Date: 2011-05-12 19:53:59 -0700 (Thu, 12 May 2011)
New Revision: 18358

Modified:
   cs/buildbot/trunk/buildbot/bs.py
Log:
Fixed cygwin check for ASEBuildSystem*.

Modified: cs/buildbot/trunk/buildbot/bs.py
===================================================================
--- cs/buildbot/trunk/buildbot/bs.py	2011-05-13 02:31:40 UTC (rev 18357)
+++ cs/buildbot/trunk/buildbot/bs.py	2011-05-13 02:53:59 UTC (rev 18358)
@@ -300,7 +300,7 @@
               ),
             ]
 
-        if env['PETSC_ARCH'].find("cygwin") > 0:
+        if env['PETSC_ARCH'].find("cygwin") >= 0:
             # PETSc ignores "--enable-shared" on Windows.  Satish
             # says: "Because it currently doesn't work. There is some
             # code contributed here [cygwin_shared target] - I'll have
@@ -432,7 +432,7 @@
               ),
             ]
 
-        if env['PETSC_ARCH'].startswith("cygwin-"):
+        if env['PETSC_ARCH'].find("cygwin") >= 0:
             # PETSc ignores "--enable-shared" on Windows.  Satish
             # says: "Because it currently doesn't work. There is some
             # code contributed here [cygwin_shared target] - I'll have



More information about the CIG-COMMITS mailing list