2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00

Reconstitute paths with spaces

[SVN r13468]
This commit is contained in:
Dave Abrahams
2002-04-12 19:47:48 +00:00
parent 728472e8dc
commit aafb951af4
2 changed files with 14 additions and 0 deletions

View File

@@ -30,6 +30,13 @@ if ! $(MSVCDir)
}
else
{
# This hack reconstitutes paths containing spaces as long as
# they don't contain any consecutive spaces.
while $(MSVCDir[2])
{
MSVCDir = $(MSVCDir[1])" "$(MSVCDir[2]) $(MSVCDir[3-]) ;
}
VC_TOOL_PATH ?= "" ; # Don't clobber adjoining text if MSVCDir is already set
}

View File

@@ -30,6 +30,13 @@ if ! $(MSVCDir)
}
else
{
# This hack reconstitutes paths containing spaces as long as
# they don't contain any consecutive spaces.
while $(MSVCDir[2])
{
MSVCDir = $(MSVCDir[1])" "$(MSVCDir[2]) $(MSVCDir[3-]) ;
}
VC_TOOL_PATH ?= "" ; # Don't clobber adjoining text if MSVCDir is already set
}