Skip to content
Myr

Oops, the string passed to `awk` isn't the same as a shell command.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fixes #808.

authored by Jordan Harband · committed by Jordan Harband · parent 58ffa40 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:nvm.sh+1 added-1 removed
315 unmodified lines
316 esac317}318319nvm_normalize_version() {320 echo "${1#v}" | command awk -F. '{ command printf("%d%06d%06d\n", $1,$2,$3); }'320 echo "${1#v}" | command awk -F. '{ printf("%d%06d%06d\n", $1,$2,$3); }'321}322323nvm_ensure_version_prefix() {324 local NVM_VERSION
1600 unmodified lines