1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-10 04:23:47 -05:00

fix some differences between ruby-build (refs #8)

This commit is contained in:
Yamashita Yuu
2013-02-07 17:32:10 +09:00
parent ea7dc5f1e1
commit ad900ba436
2 changed files with 10 additions and 9 deletions

View File

@@ -81,7 +81,6 @@ DEFINITION="${ARGUMENTS[0]}"
[ -n "$DEFINITION" ] || usage 1
# Define `before_install` and `after_install` functions that allow
# plugin hooks to register a string of code for execution before or
# after the installation process.
@@ -120,7 +119,7 @@ if [ -z "$FORCE" ] && [ -d "${PREFIX}/bin" ]; then
esac
fi
# If PYENV_BUILD_ROOT is set, always pass keep options to python-build
# If PYENV_BUILD_ROOT is set, always pass keep options to python-build.
if [ -n "${PYENV_BUILD_ROOT}" ]; then
export PYTHON_BUILD_BUILD_PATH="${PYENV_BUILD_ROOT}/${VERSION_NAME}"
KEEP="-k"
@@ -136,7 +135,6 @@ fi
# Execute `before_install` hooks.
for hook in "${before_hooks[@]}"; do eval "$hook"; done
# Invoke `python-build` and record the exit status in $STATUS. Run
# `pyenv rehash` after a successful installation.
STATUS=0