mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-22 16:23:28 +00:00
Set useful PS4 in python-build
This commit is contained in:
parent
05bb4f9a8d
commit
1e017f3917
1 changed files with 4 additions and 1 deletions
|
@ -19,7 +19,10 @@ PYTHON_BUILD_VERSION="20180424"
|
|||
OLDIFS="$IFS"
|
||||
|
||||
set -E
|
||||
[ -n "$PYENV_DEBUG" ] && set -x
|
||||
[ -n "$PYENV_DEBUG" ] && {
|
||||
export PS4='+(${BASH_SOURCE}:${LINENO}): ${FUNCNAME[0]:+${FUNCNAME[0]}(): }'
|
||||
set -x
|
||||
}
|
||||
|
||||
exec 3<&2 # preserve original stderr at fd 3
|
||||
|
||||
|
|
Loading…
Reference in a new issue