summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuenter Knauf <fuankg@apache.org>2011-03-23 11:24:36 +0000
committerGuenter Knauf <fuankg@apache.org>2011-03-23 11:24:36 +0000
commit57ead8c26ca4319d5b19651192ad03498a68b7af (patch)
treeafaf5d3277a72b67acc9759b318c403ea6a8b8dc
parent6e0aa3519924abba7233f14fd7ee6064164dcd23 (diff)
downloadapr-57ead8c26ca4319d5b19651192ad03498a68b7af.tar.gz
Use the ComSpec environment var.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.3.x@1084541 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--build/NWGNUenvironment.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/build/NWGNUenvironment.inc b/build/NWGNUenvironment.inc
index 35c33b2bf..85c71492c 100644
--- a/build/NWGNUenvironment.inc
+++ b/build/NWGNUenvironment.inc
@@ -163,12 +163,11 @@ else
ifeq "$(OS)" "Windows_NT"
DEL = $(shell if exist $(subst /,\,$1) del /q /f 2>NUL $(subst /,\,$1))
RMDIR = $(shell if exist $(subst /,\,$1)\NUL rd /q /s 2>NUL $(subst /,\,$1))
-ECHONL = cmd /c echo.
else
DEL = $(shell if exist $(subst /,\,$1) del 2>NUL $(subst /,\,$1))
RMDIR = $(shell if exist $(subst /,\,$1)\NUL deltree /y 2>NUL $(subst /,\,$1))
-ECHONL = command /c echo.
endif
+ECHONL = $(ComSpec) /c echo.
MKDIR = $(shell if not exist $(subst /,\,$1)\NUL md 2>NUL $(subst /,\,$1))
COPY = copy /y 2>NUL $(subst /,\,$1) $(subst /,\,$2)
COPYR = xcopy /y /e 2>NUL $(subst /,\,$1) $(subst /,\,$2)