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

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Feb 21 19:25:55 PST 2013


Author: hamish
Date: 2013-02-21 19:25:55 -0800 (Thu, 21 Feb 2013)
New Revision: 55158

Modified:
   grass-addons/tools/module_svn_propset.sh
Log:
order sort

Modified: grass-addons/tools/module_svn_propset.sh
===================================================================
--- grass-addons/tools/module_svn_propset.sh	2013-02-22 03:07:40 UTC (rev 55157)
+++ grass-addons/tools/module_svn_propset.sh	2013-02-22 03:25:55 UTC (rev 55158)
@@ -160,23 +160,23 @@
    unset_exe "$1"
 }
 
-apply_Fortran_code()
+apply_C_header()
 {
-   set_mime_type "$1" text/x-fortran
+   set_mime_type "$1" text/x-chdr
    set_native_eol "$1"
    unset_exe "$1"
 }
 
-apply_C_header()
+apply_Cpp_code()
 {
-   set_mime_type "$1" text/x-chdr
+   set_mime_type "$1" "text/x-c++src"
    set_native_eol "$1"
    unset_exe "$1"
 }
 
-apply_Cpp_code()
+apply_Fortran_code()
 {
-   set_mime_type "$1" "text/x-c++src"
+   set_mime_type "$1" text/x-fortran
    set_native_eol "$1"
    unset_exe "$1"
 }
@@ -223,18 +223,18 @@
     c)
 	apply_C_code "$FILE"
 	;;
+    h)
+	apply_C_header "$FILE"
+	;;
+    cc | cpp)
+	apply_Cpp_code "$FILE"
+	;;
     f77)
 	apply_Fortran_code "$FILE"
 	;;
     f90)
 	apply_Fortran_code "$FILE"
 	;;
-    h)
-	apply_C_header "$FILE"
-	;;
-    cc | cpp)
-	apply_Cpp_code "$FILE"
-	;;
     py)
 	apply_python_script "$FILE"
 	;;
@@ -244,6 +244,9 @@
     bat)
 	apply_bat_script "$FILE"
 	;;
+    sh)
+	apply_shell_script "$FILE"
+	;;
     html)
 	apply_html "$FILE"
 	;;
@@ -253,9 +256,6 @@
     gxm)
 	apply_xml "$FILE"
 	;;
-    sh)
-	apply_shell_script "$FILE"
-	;;
     pdf)
 	apply_pdf "$FILE"
 	;;



More information about the grass-commit mailing list