summaryrefslogtreecommitdiffstats
path: root/PCbuild
diff options
context:
space:
mode:
authorDan Albert <dan@gingerhq.net>2024-03-07 21:53:13 (GMT)
committerGitHub <noreply@github.com>2024-03-07 21:53:13 (GMT)
commit5d0cdfe519e6f35ccae1a1adca1ffd7fac10cee0 (patch)
tree7940b2bb702045908aced95d32e2903bc8074dda /PCbuild
parent13ffd4bd9f529b6a5fe33741fbd57f14b4b80137 (diff)
downloadcpython-5d0cdfe519e6f35ccae1a1adca1ffd7fac10cee0.zip
cpython-5d0cdfe519e6f35ccae1a1adca1ffd7fac10cee0.tar.gz
cpython-5d0cdfe519e6f35ccae1a1adca1ffd7fac10cee0.tar.bz2
gh-116472: Replace literal newlines with escape characters in MSBuild files (GH-116473)
Diffstat (limited to 'PCbuild')
-rw-r--r--PCbuild/regen.targets4
1 files changed, 1 insertions, 3 deletions
diff --git a/PCbuild/regen.targets b/PCbuild/regen.targets
index f363872..b72ef5b 100644
--- a/PCbuild/regen.targets
+++ b/PCbuild/regen.targets
@@ -150,9 +150,7 @@
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>