Revert "Merge branch 'golang-workaround'"

This reverts commit 7edceff71c, reversing
changes made to 5dea3c9e63.
This commit is contained in:
Yamashita Yuu 2014-01-03 07:39:52 +09:00
parent 7edceff71c
commit 8dc4e8d6f8

View file

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