[cig-commits] r14486 - seismo/3D/SPECFEM3D_GLOBE/branches/pluggable

tan2 at geodynamics.org tan2 at geodynamics.org
Fri Mar 27 11:57:50 PDT 2009


Author: tan2
Date: 2009-03-27 11:57:49 -0700 (Fri, 27 Mar 2009)
New Revision: 14486

Modified:
   seismo/3D/SPECFEM3D_GLOBE/branches/pluggable/prepare-model.py
Log:
translating @THIS_DIR@ in .h file as well.

Modified: seismo/3D/SPECFEM3D_GLOBE/branches/pluggable/prepare-model.py
===================================================================
--- seismo/3D/SPECFEM3D_GLOBE/branches/pluggable/prepare-model.py	2009-03-27 18:53:42 UTC (rev 14485)
+++ seismo/3D/SPECFEM3D_GLOBE/branches/pluggable/prepare-model.py	2009-03-27 18:57:49 UTC (rev 14486)
@@ -39,7 +39,7 @@
                 if not "/shared/" in tarinfo.name:
                     bcastFiles.append(tarinfo.name)
             
-            if tarinfo.name.endswith(".f90") or tarinfo.name.endswith(".c"):
+            if tarinfo.name.endswith(".f90") or tarinfo.name.endswith(".c") or tarinfo.name.endswith(".h"):
                 pathname = join(root, tarinfo.name)
                 os.unlink(pathname)
                 if tarinfo.name.endswith(".f90"):
@@ -47,7 +47,7 @@
                         serialFortranSourceFiles.append(pathname)
                     else:
                         fortranSourceFiles.append(pathname)
-                else:
+                elif tarinfo.name.endswith(".c"):
                     if tarinfo.name.endswith(".serial.c"):
                         serialCSourceFiles.append(pathname)
                     else:



More information about the CIG-COMMITS mailing list