mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Revert "Merge branch 'golang-workaround'"
This reverts commit7edceff71c
, reversing changes made to5dea3c9e63
.
This commit is contained in:
parent
7edceff71c
commit
8dc4e8d6f8
1 changed files with 2 additions and 2 deletions
|
@ -44,13 +44,13 @@ fi
|
|||
export PYENV_ROOT
|
||||
|
||||
if [ -z "${PYENV_DIR}" ]; then
|
||||
PYENV_DIR="$(abs_dirname "$(pwd)/..")"
|
||||
PYENV_DIR="$(pwd)"
|
||||
else
|
||||
cd "$PYENV_DIR" 2>/dev/null || {
|
||||
echo "pyenv: cannot change working directory to \`$PYENV_DIR'"
|
||||
exit 1
|
||||
} >&2
|
||||
PYENV_DIR="$(abs_dirname "$(pwd)/..")"
|
||||
PYENV_DIR="$(pwd)"
|
||||
cd "$OLDPWD"
|
||||
fi
|
||||
export PYENV_DIR
|
||||
|
|
Loading…
Reference in a new issue