]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-116472: Replace literal newlines with escape characters in MSBuild files (GH-116473)
authorDan Albert <dan@gingerhq.net>
Thu, 7 Mar 2024 21:53:13 +0000 (13:53 -0800)
committerGitHub <noreply@github.com>
Thu, 7 Mar 2024 21:53:13 +0000 (21:53 +0000)
PCbuild/regen.targets

index f36387231a0d3a9af009c6d0c5a07e2c6adbac55..b72ef5b5c6055c6c05defadb0051342abf562ff6 100644 (file)
           Condition="($(Platform) == 'Win32' or $(Platform) == 'x64') and
                      $(Configuration) != 'PGInstrument' and $(Configuration) != 'PGUpdate'">
     <Message Text="Regenerate @(_TestFrozenOutputs->'%(Filename)%(Extension)', ' ')" Importance="high" />
-    <Exec Command='setlocal
-set PYTHONPATH=$(PySourcePath)Lib
-"$(PythonExe)" Programs\freeze_test_frozenmain.py Programs\test_frozenmain.h'
+    <Exec Command='setlocal%0D%0Aset PYTHONPATH=$(PySourcePath)Lib%0D%0A"$(PythonExe)" Programs\freeze_test_frozenmain.py Programs\test_frozenmain.h'
           WorkingDirectory="$(PySourcePath)" />
   </Target>