[cig-commits] [commit] master: Submit.csh: Resolve symlinks to f90 files when copying code (28a95e5)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Sun Oct 19 02:14:28 PDT 2014


Repository : https://github.com/geodynamics/axisem

On branch  : master
Link       : https://github.com/geodynamics/axisem/compare/e1e0e0477eff45293e3ac8fee6c6c542f2fc5c6d...be332a9d51d070094944a87918a299a188beeea6

>---------------------------------------------------------------

commit 28a95e5bd212ff9198dfe1cbaa18ed5d59d94cef
Author: Simon Stähler <staehler at geophysik.uni-muenchen.de>
Date:   Sun Oct 19 11:02:51 2014 +0200

    Submit.csh: Resolve symlinks to f90 files when copying code
    
     - Copy also the .[fF]90 files that are just symbolic links to the MESHER directory (background_models.f90, clocks.f90...)
     - Copy also the .c files


>---------------------------------------------------------------

28a95e5bd212ff9198dfe1cbaa18ed5d59d94cef
 SOLVER/submit.csh | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/SOLVER/submit.csh b/SOLVER/submit.csh
index ec0adf7..548874c 100755
--- a/SOLVER/submit.csh
+++ b/SOLVER/submit.csh
@@ -230,9 +230,10 @@ foreach isim  (${srcapp})
     endif
     
     mkdir Code
-    cp -p $homedir/*.f90 Code
-    cp -p $homedir/*.F90 Code
-    cp -p $homedir/Makefile Code
+    cp -Lp $homedir/*.c   Code
+    cp -Lp $homedir/*.f90 Code
+    cp -Lp $homedir/*.F90 Code
+    cp -Lp $homedir/Makefile Code
     
     echo "copying crucial files for the simulation..."
     



More information about the CIG-COMMITS mailing list