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

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Oct 30 14:20:52 EDT 2011


Author: neteler
Date: 2011-10-30 11:20:52 -0700 (Sun, 30 Oct 2011)
New Revision: 49009

Modified:
   grass-addons/tools/module_svn_propset.sh
Log:
better shell support

Modified: grass-addons/tools/module_svn_propset.sh
===================================================================
--- grass-addons/tools/module_svn_propset.sh	2011-10-30 18:20:13 UTC (rev 49008)
+++ grass-addons/tools/module_svn_propset.sh	2011-10-30 18:20:52 UTC (rev 49009)
@@ -251,7 +251,7 @@
 	   apply_makefile "$FILE"
 	elif [ "$FILE" = "README" ] ; then
 	   apply_text "$FILE"
-	elif [ `file "$FILE" | grep -c "shell script"` -eq 1 ] ; then
+	elif [ `file "$FILE" | grep -c "shell script\|sh script"` -eq 1 ] ; then
 	   apply_shell_script "$FILE"
 	else
 	    if test ! -d "$FILE" ; then



More information about the grass-commit mailing list