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

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Sep 13 05:16:17 EDT 2009


Author: hamish
Date: 2009-09-13 05:16:16 -0400 (Sun, 13 Sep 2009)
New Revision: 39170

Modified:
   grass/trunk/raster/r.colors/Makefile
Log:
whitespace between img and text; quote path names

Modified: grass/trunk/raster/r.colors/Makefile
===================================================================
--- grass/trunk/raster/r.colors/Makefile	2009-09-13 07:56:52 UTC (rev 39169)
+++ grass/trunk/raster/r.colors/Makefile	2009-09-13 09:16:16 UTC (rev 39170)
@@ -12,8 +12,8 @@
 # Insert thumbnail previews
 r.colors.tmp.html: $(HTMLSRC) 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
-	mv -f $@.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
 
 thumbnails: $(BIN)/r.mapcalc$(EXE)



More information about the grass-commit mailing list