]> 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:33:19 +0000 (23:33 +0100)
committerGitHub <noreply@github.com>
Thu, 7 Mar 2024 22:33:19 +0000 (22:33 +0000)
(cherry picked from commit 5d0cdfe519e6f35ccae1a1adca1ffd7fac10cee0)

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

index af07adeca8812b4bf5d41f06f5155ee10d8b01ab..645656c81c9be70519ba1899433c407b8d20fc62 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>