3 Commits

Author SHA1 Message Date
Yamashita Yuu
6b712a95cb v20140110.1 2014-01-10 15:36:42 +09:00
Yamashita Yuu
95cc31ba6b Import changes from install script of ruby-build v20131225.1 2014-01-10 15:35:10 +09:00
Yamashita Yuu
cebd326821 Merge branch 'release-20140110' 2014-01-10 11:36:08 +09:00
3 changed files with 12 additions and 7 deletions

View File

@@ -97,6 +97,10 @@ You can set certain environment variables to control the pyenv-virtualenv.
## Version History ## Version History
#### 20140110.1
* Fix install script
#### 20140110 #### 20140110
* Support environment variables of `EZ_SETUP` and `GET_PIP`. * Support environment variables of `EZ_SETUP` and `GET_PIP`.

View File

@@ -11,7 +11,7 @@
# -f/--force Install even if the version appears to be installed already # -f/--force Install even if the version appears to be installed already
# #
PYENV_VIRTUALENV_VERSION="20140110" PYENV_VIRTUALENV_VERSION="20140110.1"
set -e set -e
[ -n "$PYENV_DEBUG" ] && set -x [ -n "$PYENV_DEBUG" ] && set -x

View File

@@ -1,17 +1,18 @@
#!/bin/sh #!/bin/sh
# Usage: PREFIX=/usr/local ./install.sh
#
# Installs pyenv-virtualenv under $PREFIX.
set -e set -e
cd "$(dirname "$0")"
if [ -z "${PREFIX}" ]; then if [ -z "${PREFIX}" ]; then
PREFIX="/usr/local" PREFIX="/usr/local"
fi fi
BIN_PATH="${PREFIX}/bin" BIN_PATH="${PREFIX}/bin"
mkdir -p "${BIN_PATH}" mkdir -p "$BIN_PATH"
for file in bin/*; do install -p bin/* "$BIN_PATH"
cp "${file}" "${BIN_PATH}"
done
echo "Installed pyenv-virtualenv at ${PREFIX}"