[cig-commits] [commit] pluggable: translating @THIS_DIR@ in .h file as well. (8d1548a)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Wed Apr 9 08:55:16 PDT 2014
Repository : ssh://geoshell/specfem3d_globe
On branch : pluggable
Link : https://github.com/geodynamics/specfem3d_globe/compare/64e1b38f0c5ebb4056cce0b15d41c0b9f94ab6e5...099a4d330d5b173b21e51ad441f9f429e5d37842
>---------------------------------------------------------------
commit 8d1548a2ddd024860bc231bd83891c9d7b7b3d9a
Author: Eh Tan <tan2 at earth.sinica.edu.tw>
Date: Fri Mar 27 18:57:49 2009 +0000
translating @THIS_DIR@ in .h file as well.
>---------------------------------------------------------------
8d1548a2ddd024860bc231bd83891c9d7b7b3d9a
prepare-model.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/prepare-model.py b/prepare-model.py
index 0e11ede..036efaf 100755
--- a/prepare-model.py
+++ b/prepare-model.py
@@ -39,7 +39,7 @@ class MovedFromPortal:
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 @@ class MovedFromPortal:
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