1
0
Fork 0
mirror of https://github.com/pyenv/pyenv.git synced 2025-01-11 03:44:42 +00:00
pyenv/libexec/pyenv-version-origin
2013-01-18 19:09:56 +09:00

10 lines
223 B
Bash
Executable file

#!/usr/bin/env bash
# Summary: Explain how the current Python version is set
set -e
[ -n "$PYENV_DEBUG" ] && set -x
if [ -n "$PYENV_VERSION" ]; then
echo "PYENV_VERSION environment variable"
else
pyenv-version-file
fi