Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libexec/nenv-version-file-read
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if [ -e "$VERSION_FILE" ]; then
# Be careful not to load it whole in case there's something crazy in it.
IFS="${IFS}"$'\r'
words=( $(cut -b 1-1024 "$VERSION_FILE") )
version="${words[0]}"
version="${words[0]#v}"

if [ -n "$version" ]; then
echo "$version"
Expand Down