1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-14 06:13:53 -05:00

Import changes from ruby-build v20150818

This commit is contained in:
Yamashita, Yuu
2015-08-25 15:37:31 +09:00
parent 0c81c97926
commit 0f288f2462
5 changed files with 53 additions and 17 deletions

View File

@@ -18,8 +18,7 @@ if [ "$1" = "--complete" ]; then
fi
usage() {
# We can remove the sed fallback once pyenv 0.4.0 is widely available
pyenv-help uninstall 2>/dev/null || sed -ne '/^#/!q;s/.//;s/.//;1,4d;p' < "$0"
pyenv-help uninstall 2>/dev/null
[ -z "$1" ] || exit "$1"
}