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

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Aug 19 14:24:01 EDT 2009


Author: hamish
Date: 2009-08-19 14:24:00 -0400 (Wed, 19 Aug 2009)
New Revision: 38797

Modified:
   grass-addons/tools/module_svn_propset.sh
Log:
new version of `file` reports them as POSIX shell scripts not Bourne shell scripts, so generalize

Modified: grass-addons/tools/module_svn_propset.sh
===================================================================
--- grass-addons/tools/module_svn_propset.sh	2009-08-19 18:19:26 UTC (rev 38796)
+++ grass-addons/tools/module_svn_propset.sh	2009-08-19 18:24:00 UTC (rev 38797)
@@ -178,7 +178,7 @@
     *)
 	if [ "$FILE" = "Makefile" ] ; then
 	   apply_makefile "$FILE"
-	elif [ `file "$FILE" | grep -c "Bourne shell script"` -eq 1 ] ; then
+	elif [ `file "$FILE" | grep -c "shell script"` -eq 1 ] ; then
 	   apply_shell_script "$FILE"
 	else
 	    echo "WARNING: unknown file type <$FILE>"



More information about the grass-commit mailing list