mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-14 20:39:55 -05: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