From 167ff2a1988deaa2217f3762a61b15c87ac8a0f7 Mon Sep 17 00:00:00 2001 From: Yamashita Yuu Date: Wed, 6 Feb 2013 16:05:29 +0900 Subject: [PATCH] s/Ruby/Python/g; s/RBENV/PYENV/g --- libexec/pyenv-rehash | 2 +- libexec/pyenv-version-name | 2 +- libexec/pyenv-which | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libexec/pyenv-rehash b/libexec/pyenv-rehash index 447340ec..a1f5b03b 100755 --- a/libexec/pyenv-rehash +++ b/libexec/pyenv-rehash @@ -63,7 +63,7 @@ SH } # If the contents of the prototype shim file differ from the contents -# of the first shim in the shims directory, assume rbenv has been +# of the first shim in the shims directory, assume pyenv has been # upgraded and the existing shims need to be removed. remove_outdated_shims() { for shim in *; do diff --git a/libexec/pyenv-version-name b/libexec/pyenv-version-name index 49a4aa34..b2f2ff70 100755 --- a/libexec/pyenv-version-name +++ b/libexec/pyenv-version-name @@ -19,7 +19,7 @@ fi version_exists() { local version="$1" - [ -d "${RBENV_ROOT}/versions/${version}" ] + [ -d "${PYENV_ROOT}/versions/${version}" ] } for version in "${versions[@]}"; do diff --git a/libexec/pyenv-which b/libexec/pyenv-which index 283d894a..3a1b9a0e 100755 --- a/libexec/pyenv-which +++ b/libexec/pyenv-which @@ -81,7 +81,7 @@ else versions="$(pyenv-whence "$PYENV_COMMAND" || true)" if [ -n "$versions" ]; then { echo - echo "The \`$1' command exists in these Ruby versions:" + echo "The \`$1' command exists in these Python versions:" echo "$versions" | sed 's/^/ /g' echo } >&2