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

Made Boost Build's capture-output testing rule in the tools/python.jam module work correctly when the path to the used Python executable includes spaces.

[SVN r47540]
This commit is contained in:
Jurko Gospodnetić
2008-07-18 06:44:42 +00:00
parent e7b6c4c506
commit 596a2e2155

View File

@@ -1218,7 +1218,7 @@ rule capture-output ( target : sources * : properties * )
local path-separator = [ os.path-separator [ translate-os $(target-os) ] ] ;
local set-PYTHONPATH = [ common.variable-setting-command PYTHONPATH :
$(PYTHONPATH:J=$(path-separator)) ] ;
LAUNCHER on $(target) = $(set-PYTHONPATH) [ on $(target) return $(PYTHON) ] ;
LAUNCHER on $(target) = $(set-PYTHONPATH) [ on $(target) return \"$(PYTHON)\" ] ;
}