diff --git a/makefile b/makefile index 51fdb6c3c88..997d3b3bf8c 100644 --- a/makefile +++ b/makefile @@ -754,7 +754,7 @@ ifeq (posix,$(SHELLTYPE)) COPY = $(SILENT) cp -fR "$(1)" "$(2)" else MKDIR = $(SILENT) mkdir "$(subst /,\\,$(1))" 2> nul || exit 0 - COPY = $(SILENT) copy /Y "$(subst /,\\,$(1))" "$(subst /,\\,$(2))" > 2> nul || exit 0 + COPY = $(SILENT) copy /Y "$(subst /,\\,$(1))" "$(subst /,\\,$(2))" > nul || exit 0 endif GENDIR = $(BUILDDIR)/generated