From 596a2e2155c27cc091307cb91bcd7176a10663ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurko=20Gospodneti=C4=87?= Date: Fri, 18 Jul 2008 06:44:42 +0000 Subject: [PATCH] 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] --- src/tools/python.jam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/python.jam b/src/tools/python.jam index f8179b50f..bccc98f0f 100644 --- a/src/tools/python.jam +++ b/src/tools/python.jam @@ -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)\" ] ; }