Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 1d36a2e

Browse files
author
Matthias Koeppe
committed
build/bin/sage-system-python: Try python first
1 parent e2dcdee commit 1d36a2e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build/bin/sage-system-python

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ fi
2020
#
2121
# See https://trac.sagemath.org/ticket/29090
2222

23-
PYTHONS="python3 python3.8 python3.7 python2.7 python python3.6 python2"
23+
# Trac #29890: Our first choice is "python", not "python3". This is to avoid
24+
# a defect of sage_bootstrap on macOS regarding SSL URLs.
25+
PYTHONS="python python3 python3.8 python3.7 python2.7 python3.6 python2"
2426
for PY in $PYTHONS; do
2527
PYTHON="$(PATH="$SAGE_ORIG_PATH" command -v $PY)"
2628
if [[ -n "$PYTHON" ]]; then

0 commit comments

Comments
 (0)