]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-92348: Add quotes to support building on Windows with spaces in directory name...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 17 Jul 2022 14:46:43 +0000 (07:46 -0700)
committerGitHub <noreply@github.com>
Sun, 17 Jul 2022 14:46:43 +0000 (07:46 -0700)
(cherry picked from commit 5c19ddab65f91d190ec94c494e95c5d551a45efc)

Co-authored-by: Steve Dower <steve.dower@python.org>
PCbuild/pyproject.props

index df3efc631d154f3aa028a7cfd578dd5226d574c6..e398b333572e9d20f8e9758a6e92b6122fd7e39c 100644 (file)
@@ -229,7 +229,7 @@ public override bool Execute() {
   </Target>
 
   <Target Name="FindPythonForBuild" Condition="$(PythonForBuild) == ''">
-    <Exec Command="$(MSBuildThisFileDirectory)\find_python.bat -q"
+    <Exec Command="&quot;$(MSBuildThisFileDirectory)\find_python.bat&quot; -q"
           EchoOff="true"
           ConsoleToMsBuild="true">
         <Output TaskParameter="ConsoleOutput" ItemName="_CmdExeLines" />