Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
8905fb83
Commit
8905fb83
authored
Sep 05, 2017
by
Zachary Ware
Committed by
GitHub
Sep 05, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-30450: Don't use where, XP doesn't have it (GH-3348)
Really this time!
parent
5e8e3713
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
PCbuild/build.bat
PCbuild/build.bat
+1
-2
PCbuild/find_msbuild.bat
PCbuild/find_msbuild.bat
+2
-2
No files found.
PCbuild/build.bat
View file @
8905fb83
...
...
@@ -96,9 +96,8 @@ if "%do_pgo%" EQU "true" if "%platf%" EQU "x64" (
)
)
if
not
exist
"
%GIT%
"
where
git
>
"
%TEMP%
\git.loc"
2
>
nul
&&
set
/P
GIT
=
<
"
%TEMP%
\git.loc"
&
del
"
%TEMP%
\git.loc"
if
"
%GIT%
"
EQU
""
set
GIT
=
git
if
exist
"
%GIT%
"
set
GITProperty
=
/p
:GIT
=
"
%GIT%
"
if
not
exist
"
%GIT%
"
echo
Cannot
find
Git
on
PATH
&
set
GITProperty
=
rem Setup the environment
call
"
%dir%
find_msbuild.bat"
%MSBUILD%
...
...
PCbuild/find_msbuild.bat
View file @
8905fb83
...
...
@@ -26,8 +26,8 @@
@set MSBUILD=
@rem If msbuild.exe is on the PATH, assume that the user wants that one.
@
where msbuild > "
%TEMP%
\msbuild.loc" 2> nul && set /P MSBUILD= < "
%TEMP%
\msbuild.loc" & del "
%TEMP%
\msbuild.loc"
@if
exist "
%MSBUILD%
" set MSBUILD="
%MSBUILD%
"
& (set _Py_MSBuild_Source=PATH) & goto :found
@
msbuild /version > nul 2>&1
@if
NOT ERRORLEVEL 9009 set MSBUILD=msbuild
& (set _Py_MSBuild_Source=PATH) & goto :found
@rem VS 2015 and earlier register MSBuild separately, so we can find it.
@rem Prefer MSBuild 14.0 over MSBuild 15.0, since the latter may not be able to find a VC14 install.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment