]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-116472: Replace literal newlines with escape characters in MSBuild files (GH-116473)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 7 Mar 2024 22:16:32 +0000 (23:16 +0100)
committerGitHub <noreply@github.com>
Thu, 7 Mar 2024 22:16:32 +0000 (22:16 +0000)
(cherry picked from commit 5d0cdfe519e6f35ccae1a1adca1ffd7fac10cee0)

Co-authored-by: Dan Albert <dan@gingerhq.net>
PCbuild/regen.targets

index d7cb6dbe72acea58c39088df00aa804a5f4bb785..e955d1eccb02c53bbd8d23320654f222cf184156 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>