[GRASS-SVN] r45521 - grass-addons/tools

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Mar 2 11:26:41 EST 2011


Author: neteler
Date: 2011-03-02 08:26:41 -0800 (Wed, 02 Mar 2011)
New Revision: 45521

Modified:
   grass-addons/tools/module_svn_propset.sh
Log:
added Fortran support

Modified: grass-addons/tools/module_svn_propset.sh
===================================================================
--- grass-addons/tools/module_svn_propset.sh	2011-03-02 16:24:57 UTC (rev 45520)
+++ grass-addons/tools/module_svn_propset.sh	2011-03-02 16:26:41 UTC (rev 45521)
@@ -127,6 +127,13 @@
    unset_exe "$1"
 }
 
+apply_Fortran_code()
+{
+   set_mime_type "$1" text/x-fortran
+   set_native_eol "$1"
+   unset_exe "$1"
+}
+
 apply_C_header()
 {
    set_mime_type "$1" text/x-chdr
@@ -183,6 +190,12 @@
     c)
 	apply_C_code "$FILE"
 	;;
+    f77)
+	apply_Fortran_code "$FILE"
+	;;
+    f90)
+	apply_Fortran_code "$FILE"
+	;;
     h)
 	apply_C_header "$FILE"
 	;;



More information about the grass-commit mailing list