Browse Source

Merge branch 'golang-workaround'

pull/100/head
Yamashita Yuu 10 years ago
parent
commit
7edceff71c
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libexec/pyenv

+ 2
- 2
libexec/pyenv 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="$(pwd)"
PYENV_DIR="$(abs_dirname "$(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="$(pwd)"
PYENV_DIR="$(abs_dirname "$(pwd)/..")"
cd "$OLDPWD" cd "$OLDPWD"
fi fi
export PYENV_DIR export PYENV_DIR

Loading…
Cancel
Save