pyenv/libexec/pyenv-version-origin

11 lines
223 B
Text
Raw Normal View History

#!/usr/bin/env bash
2013-01-18 03:41:41 -05:00
# 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