mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-14 20:39:55 -05:00
Fix rbenv-version-file-read for version files without trailing newlines
This commit is contained in:
parent
042794b651
commit
837bfc5aa9
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ if [ -e "$VERSION_FILE" ]; then
|
|||
echo "$version"
|
||||
break
|
||||
fi
|
||||
done < "$VERSION_FILE"
|
||||
done < <( cat "$VERSION_FILE" && echo )
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue