git-svn-id: https://svn.osgeo.org/grass/grass/trunk@37068 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -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