mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -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"
|
echo "$version"
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done < "$VERSION_FILE"
|
done < <( cat "$VERSION_FILE" && echo )
|
||||||
else
|
else
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue