Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cedad02

Browse filesBrowse files
sam-githubtargos
authored andcommitted
build: prefer python 3 over 2 for configure
Change python search order to python3*, then python, then python2*. PR-URL: #30091 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: João Reis <reis@janeasystems.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent fd0aded commit cedad02
Copy full SHA for cedad02

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎configure‎

Copy file name to clipboardExpand all lines: configure
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
# pyenv will alert which shims are available and then will fail the build.
88
_=[ 'exec' '/bin/sh' '-c' '''
99
test ${TRAVIS} && exec python "$0" "$@" # workaround for pyenv on Travis CI
10-
which python2.7 >/dev/null && exec python2.7 "$0" "$@"
1110
which python3.7 >/dev/null && exec python3.7 "$0" "$@"
1211
which python3.6 >/dev/null && exec python3.6 "$0" "$@"
1312
which python3.5 >/dev/null && exec python3.5 "$0" "$@"
13+
which python2.7 >/dev/null && exec python2.7 "$0" "$@"
1414
exec python "$0" "$@"
1515
''' "$0" "$@"
1616
]

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.