diff options
author | Steve Dower <steve.dower@microsoft.com> | 2015-02-14 17:38:19 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2015-02-14 17:38:19 (GMT) |
commit | a9076d655134386ddc7f9fca40c926a102f35b84 (patch) | |
tree | ba8f8dee01f240f1cf959fdde5d232f6975e5605 /PCbuild | |
parent | a750ce3325b0daf6942834efd3644d1cf837abad (diff) | |
download | cpython-a9076d655134386ddc7f9fca40c926a102f35b84.zip cpython-a9076d655134386ddc7f9fca40c926a102f35b84.tar.gz cpython-a9076d655134386ddc7f9fca40c926a102f35b84.tar.bz2 |
Issue #23461: Normalise line endings when comparing old and new contents of importlib.h
Diffstat (limited to 'PCbuild')
-rw-r--r-- | PCbuild/_freeze_importlib.vcxproj | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/PCbuild/_freeze_importlib.vcxproj b/PCbuild/_freeze_importlib.vcxproj index 7f4e419..f7714c0 100644 --- a/PCbuild/_freeze_importlib.vcxproj +++ b/PCbuild/_freeze_importlib.vcxproj @@ -85,8 +85,8 @@ <Exec Command='"$(TargetPath)" "$(PySourcePath)Lib\importlib\_bootstrap.py" "$(IntDir)importlib.g.h"' /> <PropertyGroup> - <_OldContent Condition="Exists('$(PySourcePath)Python\importlib.h')">$([System.IO.File]::ReadAllText('$(PySourcePath)Python\importlib.h'))</_OldContent> - <_NewContent Condition="Exists('$(IntDir)importlib.g.h')">$([System.IO.File]::ReadAllText('$(IntDir)importlib.g.h'))</_NewContent> + <_OldContent Condition="Exists('$(PySourcePath)Python\importlib.h')">$([System.IO.File]::ReadAllText('$(PySourcePath)Python\importlib.h').Replace(`
`, `
`))</_OldContent> + <_NewContent Condition="Exists('$(IntDir)importlib.g.h')">$([System.IO.File]::ReadAllText('$(IntDir)importlib.g.h').Replace(`
`, `
`))</_NewContent> </PropertyGroup> <Copy SourceFiles="$(IntDir)importlib.g.h" |