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:
@@ -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)\" ] ;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user