You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

21 lines
342 B

#!/bin/sh
# Usage: PREFIX=/usr/local ./install.sh
#
# Installs pyenv-virtualenv under $PREFIX.
set -e
cd "$(dirname "$0")"
if [ -z "${PREFIX}" ]; then
PREFIX="/usr/local"
fi
BIN_PATH="${PREFIX}/bin"
SHIMS_PATH="${PREFIX}/shims"
mkdir -p "$BIN_PATH"
mkdir -p "$SHIMS_PATH"
install -p bin/* "$BIN_PATH"
install -p shims/* "$SHIMS_PATH"