From 99df4919fda69e02f3253f6d843903120404a994 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Fri, 8 Dec 2017 09:48:18 +0100 Subject: [PATCH] Fix `make setup dos' (#52622). * builds/detect.mk (dos_setup): Properly escape literal `>' character. --- ChangeLog | 7 +++++++ builds/detect.mk | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bc39aca5b..4f4e2eef5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2017-12-08 Werner Lemberg + + Fix `make setup dos' (#52622). + + * builds/detect.mk (dos_setup): Properly escape literal `>' + character. + 2017-12-07 Werner Lemberg Fix C++ compilation. diff --git a/builds/detect.mk b/builds/detect.mk index 4ed478e43..e5100a60f 100644 --- a/builds/detect.mk +++ b/builds/detect.mk @@ -131,6 +131,9 @@ std_setup: # Special case for Dos, Windows, OS/2, where echo "" doesn't work correctly! # +# For `cmd.exe', we have to escape (unquoted) special characters like `>' as +# `^>', and we use 0xFF as a replacement character for a protected space. +# dos_setup: @type builds$(SEP)newline @echo $(PROJECT_TITLE) build system -- automatic system detection @@ -146,7 +149,7 @@ dos_setup: @echo '$(CONFIG_MK)' from this directory then read the INSTALL file for help. @type builds$(SEP)newline @echo Otherwise, simply type 'make' again to build the library. - @echo or 'make refdoc' to build the API reference (this needs python >= 2.6). + @echo or 'make refdoc' to build the API reference (this needs python ^>= 2.6). @type builds$(SEP)newline @$(COPY) $(subst /,$(SEP),$(CONFIG_RULES) $(CONFIG_MK)) > nul