ソースを参照

whitespace between img and text; quote path names

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@39170 15284696-431f-4ddb-bdfa-cd5b030d7da7
Hamish Bowman 15 年 前
コミット
76fc4aa773
1 ファイル変更2 行追加2 行削除
  1. 2 2
      raster/r.colors/Makefile

+ 2 - 2
raster/r.colors/Makefile

@@ -12,8 +12,8 @@ default: cmd
 # 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)