From eea04bf586eb2d6495549823ca5366de40a1a9a1 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Mon, 14 Jan 2002 03:32:27 +0000 Subject: [PATCH] Added better directions about quoting [SVN r12304] --- historic/jam/src/Jambase | 8 ++++++-- historic/jam/src/jambase.c | 8 ++++++-- jam_src/Jambase | 8 ++++++-- jam_src/jambase.c | 8 ++++++-- 4 files changed, 24 insertions(+), 8 deletions(-) diff --git a/historic/jam/src/Jambase b/historic/jam/src/Jambase index d3d80814f..406084ac5 100644 --- a/historic/jam/src/Jambase +++ b/historic/jam/src/Jambase @@ -286,9 +286,13 @@ if $(NT) ECHO " set JAM_TOOLSET=VISUALC" ; ECHO ; ECHO " - if your toolset's installation path contains spaces, surround" ; - ECHO " it with quotes:" ; + ECHO " it with TWO SETS of quotes:" ; ECHO ; - ECHO " e.g.: set VISUALC=\"C:\\Program Files\\Microsoft Visual C++\\VC98\"" ; + ECHO " e.g.: set VISUALC=\"\"C:\\Program Files\\Microsoft Visual C++\\VC98\"\"" ; + ECHO ; + ECHO " The outer quotes will prevent Jam from splitting its elements," ; + ECHO " and the inner quotes will keep the path as a single argument on" ; + ECHO " the build command line." ; ECHO ; EXIT ; } diff --git a/historic/jam/src/jambase.c b/historic/jam/src/jambase.c index b54a899ee..b16214aa9 100644 --- a/historic/jam/src/jambase.c +++ b/historic/jam/src/jambase.c @@ -84,9 +84,13 @@ char *jambase[] = { "ECHO \" set JAM_TOOLSET=VISUALC\" ;\n", "ECHO ;\n", "ECHO \" - if your toolset's installation path contains spaces, surround\" ;\n", -"ECHO \" it with quotes:\" ;\n", +"ECHO \" it with TWO SETS of quotes:\" ;\n", "ECHO ;\n", -"ECHO \" e.g.: set VISUALC=\\\"C:\\\\Program Files\\\\Microsoft Visual C++\\\\VC98\\\"\" ;\n", +"ECHO \" e.g.: set VISUALC=\\\"\\\"C:\\\\Program Files\\\\Microsoft Visual C++\\\\VC98\\\"\\\"\" ;\n", +"ECHO ;\n", +"ECHO \" The outer quotes will prevent Jam from splitting its elements,\" ;\n", +"ECHO \" and the inner quotes will keep the path as a single argument on\" ;\n", +"ECHO \" the build command line.\" ;\n", "ECHO ;\n", "EXIT ;\n", "}\n", diff --git a/jam_src/Jambase b/jam_src/Jambase index d3d80814f..406084ac5 100644 --- a/jam_src/Jambase +++ b/jam_src/Jambase @@ -286,9 +286,13 @@ if $(NT) ECHO " set JAM_TOOLSET=VISUALC" ; ECHO ; ECHO " - if your toolset's installation path contains spaces, surround" ; - ECHO " it with quotes:" ; + ECHO " it with TWO SETS of quotes:" ; ECHO ; - ECHO " e.g.: set VISUALC=\"C:\\Program Files\\Microsoft Visual C++\\VC98\"" ; + ECHO " e.g.: set VISUALC=\"\"C:\\Program Files\\Microsoft Visual C++\\VC98\"\"" ; + ECHO ; + ECHO " The outer quotes will prevent Jam from splitting its elements," ; + ECHO " and the inner quotes will keep the path as a single argument on" ; + ECHO " the build command line." ; ECHO ; EXIT ; } diff --git a/jam_src/jambase.c b/jam_src/jambase.c index b54a899ee..b16214aa9 100644 --- a/jam_src/jambase.c +++ b/jam_src/jambase.c @@ -84,9 +84,13 @@ char *jambase[] = { "ECHO \" set JAM_TOOLSET=VISUALC\" ;\n", "ECHO ;\n", "ECHO \" - if your toolset's installation path contains spaces, surround\" ;\n", -"ECHO \" it with quotes:\" ;\n", +"ECHO \" it with TWO SETS of quotes:\" ;\n", "ECHO ;\n", -"ECHO \" e.g.: set VISUALC=\\\"C:\\\\Program Files\\\\Microsoft Visual C++\\\\VC98\\\"\" ;\n", +"ECHO \" e.g.: set VISUALC=\\\"\\\"C:\\\\Program Files\\\\Microsoft Visual C++\\\\VC98\\\"\\\"\" ;\n", +"ECHO ;\n", +"ECHO \" The outer quotes will prevent Jam from splitting its elements,\" ;\n", +"ECHO \" and the inner quotes will keep the path as a single argument on\" ;\n", +"ECHO \" the build command line.\" ;\n", "ECHO ;\n", "EXIT ;\n", "}\n",