1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-12 13:33:45 -05:00

Merge branch 'golang-workaround'

This commit is contained in:
Yamashita Yuu
2014-01-03 06:23:03 +09:00

View File

@@ -44,13 +44,13 @@ fi
export PYENV_ROOT
if [ -z "${PYENV_DIR}" ]; then
PYENV_DIR="$(pwd)"
PYENV_DIR="$(abs_dirname "$(pwd)/..")"
else
cd "$PYENV_DIR" 2>/dev/null || {
echo "pyenv: cannot change working directory to \`$PYENV_DIR'"
exit 1
} >&2
PYENV_DIR="$(pwd)"
PYENV_DIR="$(abs_dirname "$(pwd)/..")"
cd "$OLDPWD"
fi
export PYENV_DIR