[python-build] Support PYENV_DEBUG

fixes #1805
This commit is contained in:
Earl Chew 2021-02-06 10:14:47 -08:00
parent dc70546565
commit 4c3f2cce3e

View file

@ -19,6 +19,8 @@ PYTHON_BUILD_VERSION="20180424"
OLDIFS="$IFS" OLDIFS="$IFS"
set -E set -E
[ -n "$PYENV_DEBUG" ] && set -x
exec 3<&2 # preserve original stderr at fd 3 exec 3<&2 # preserve original stderr at fd 3