[GRASS-SVN] r55102 - grass-addons/tools
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Feb 17 19:27:42 PST 2013
Author: hamish
Date: 2013-02-17 19:27:42 -0800 (Sun, 17 Feb 2013)
New Revision: 55102
Modified:
grass-addons/tools/module_svn_propset.sh
Log:
pick up Makefile, README, TODO also if not in the pwd
Modified: grass-addons/tools/module_svn_propset.sh
===================================================================
--- grass-addons/tools/module_svn_propset.sh 2013-02-18 03:21:00 UTC (rev 55101)
+++ grass-addons/tools/module_svn_propset.sh 2013-02-18 03:27:42 UTC (rev 55102)
@@ -257,9 +257,9 @@
apply_text "$FILE"
;;
*)
- if [ "$FILE" = "Makefile" ] ; then
+ if [ "`basename $FILE`" = "Makefile" ] ; then
apply_makefile "$FILE"
- elif [ "$FILE" = "README" ] || [ "$FILE" = "TODO" ] ; then
+ elif [ "`basename $FILE`" = "README" ] || [ "`basename $FILE`" = "TODO" ] ; then
apply_text "$FILE"
elif [ `file "$FILE" | grep -c "shell script\|sh script"` -eq 1 ] ; then
apply_shell_script "$FILE"
More information about the grass-commit
mailing list