s/Ruby/Python/g; s/RBENV/PYENV/g

This commit is contained in:
Yamashita Yuu 2013-02-06 16:05:29 +09:00
parent ee3c9bef5e
commit 167ff2a198
3 changed files with 3 additions and 3 deletions

View file

@ -63,7 +63,7 @@ SH
} }
# If the contents of the prototype shim file differ from the contents # 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. # upgraded and the existing shims need to be removed.
remove_outdated_shims() { remove_outdated_shims() {
for shim in *; do for shim in *; do

View file

@ -19,7 +19,7 @@ fi
version_exists() { version_exists() {
local version="$1" local version="$1"
[ -d "${RBENV_ROOT}/versions/${version}" ] [ -d "${PYENV_ROOT}/versions/${version}" ]
} }
for version in "${versions[@]}"; do for version in "${versions[@]}"; do

View file

@ -81,7 +81,7 @@ else
versions="$(pyenv-whence "$PYENV_COMMAND" || true)" versions="$(pyenv-whence "$PYENV_COMMAND" || true)"
if [ -n "$versions" ]; then if [ -n "$versions" ]; then
{ echo { 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 "$versions" | sed 's/^/ /g'
echo echo
} >&2 } >&2