Remove ableist language

This commit is contained in:
Mislav Marohnić 2018-06-05 16:43:31 +02:00
parent e55e3c05eb
commit 199e598351
2 changed files with 2 additions and 3 deletions

View file

@ -306,7 +306,7 @@ opposed to this idea. Here's what `rbenv init` actually does:
4. Installs the sh dispatcher. This bit is also optional, but allows
rbenv and plugins to change variables in your current shell, making
commands like `rbenv shell` possible. The sh dispatcher doesn't do
anything crazy like override `cd` or hack your shell prompt, but if
anything invasive like override `cd` or hack your shell prompt, but if
for some reason you need `rbenv` to be a real script rather than a
shell function, you can safely skip it.

View file

@ -6,8 +6,7 @@ set -e
VERSION_FILE="$1"
if [ -e "$VERSION_FILE" ]; then
# Read the first non-whitespace word from the specified version file.
# Be careful not to load it whole in case there's something crazy in it.
# Read the first word from the specified version file. Avoid reading it whole.
IFS="${IFS}"$'\r'
words=( $(cut -b 1-1024 "$VERSION_FILE") )
version="${words[0]}"