diff --git a/v2/tools/common.jam b/v2/tools/common.jam index 24ce89c82..5fe5d2b8e 100644 --- a/v2/tools/common.jam +++ b/v2/tools/common.jam @@ -498,7 +498,7 @@ rule response-file ( targets + : sources * : the-response-file : properties * ) print.text [ on $(targets[1]) - return -D$(DEFINES) -I"$(INCLUDES)" + return -D$(DEFINES) -I\"$(INCLUDES)\" ] ; } diff --git a/v2/util/print.jam b/v2/util/print.jam index f8b0c3a96..0ef4ca3c0 100644 --- a/v2/util/print.jam +++ b/v2/util/print.jam @@ -428,7 +428,7 @@ if [ modules.peek : NT ] if $(string) || $(string) != "" { local escaped = [ regex.escape $(string) : "&|()<>^" : "^" ] ; - return "echo \"$(escaped)\"" ; + return "echo $(escaped)" ; } else {