1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-13 22:03:52 -05:00

Fix some issues reported by shellcheck

This commit is contained in:
Daniel Hahler
2017-06-24 00:12:09 +02:00
parent eda952ab08
commit 5f8a4c4d62
6 changed files with 15 additions and 11 deletions

View File

@@ -20,7 +20,7 @@ fi
whence() {
local command="$1"
rbenv-versions --bare | while read version; do
rbenv-versions --bare | while read -r version; do
path="$(rbenv-prefix "$version")/bin/${command}"
if [ -x "$path" ]; then
[ "$print_paths" ] && echo "$path" || echo "$version"