[GRASS-SVN] r50682 - grass/trunk/raster/r.colors

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Feb 6 03:17:57 EST 2012


Author: hamish
Date: 2012-02-06 00:17:57 -0800 (Mon, 06 Feb 2012)
New Revision: 50682

Modified:
   grass/trunk/raster/r.colors/Makefile
Log:
fix for color rules files with underscores in their names (#1566)

Modified: grass/trunk/raster/r.colors/Makefile
===================================================================
--- grass/trunk/raster/r.colors/Makefile	2012-02-06 06:41:18 UTC (rev 50681)
+++ grass/trunk/raster/r.colors/Makefile	2012-02-06 08:17:57 UTC (rev 50682)
@@ -15,13 +15,13 @@
 # Insert thumbnail previews
 r.colors.tmp.html: $(BIN)/r.colors$(EXE) thumbnails.py
 	$(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
 
 r3.colors.tmp.html: $(BIN)/r3.colors$(EXE) thumbnails.py
 	$(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