[GRASS-SVN] r56808 - grass/trunk/vector/v.colors
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jun 19 20:05:07 PDT 2013
Author: hamish
Date: 2013-06-19 20:05:07 -0700 (Wed, 19 Jun 2013)
New Revision: 56808
Modified:
grass/trunk/vector/v.colors/Makefile
Log:
also work for color maps with underscores in their name
Modified: grass/trunk/vector/v.colors/Makefile
===================================================================
--- grass/trunk/vector/v.colors/Makefile 2013-06-19 23:34:55 UTC (rev 56807)
+++ grass/trunk/vector/v.colors/Makefile 2013-06-20 03:05:07 UTC (rev 56808)
@@ -14,7 +14,7 @@
# Insert thumbnail previews
v.colors.tmp.html: $(BIN)/v.colors$(EXE) thumbnails
$(call htmldesc,$<,$@)
- sed 's!^<dd><b>\([a-z0-9.]*\)</b>:!<dd><img width="80" height="12" src="Colortable_\1.png"> <b>\1</b>:!' "$@" > "$@.tmp"
+ sed 's!^<dd><b>\([a-z0-9._]*\)</b>:!<dd><img width="80" height="12" src="Colortable_\1.png"> <b>\1</b>:!' "$@" > "$@.tmp"
mv -f "$@.tmp" "$@"
$(MAKE) thumbnails
More information about the grass-commit
mailing list