浏览代码

g.dirseps needs PATH and GISRC(!) to be set

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@37068 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 16 年之前
父节点
当前提交
98f88cbaf4
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      include/Make/Html.make

+ 2 - 2
include/Make/Html.make

@@ -16,8 +16,8 @@ htmldesc = \
 	LC_ALL=C \
 	$(1) --html-description < /dev/null | grep -v '</body>\|</html>' > $(2)
 
-ifneq ($(MINGW32),)
-mkpath = $(shell g.dirseps -h $(1))\;$(2)
+ifneq ($(MINGW),)
+mkpath = $(shell PATH="$(BIN):$(ARCH_LIBDIR):$$PATH" GISRC=$(RUN_GISRC) $(BIN)/g.dirseps$(EXE) -h $(1));$(2)
 else
 mkpath = $(1):$(2)
 endif