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

Fixes #808.
Jordan Harband 2015-08-16 18:08:50 -07:00
parent 58ffa407c2
commit b7e2d7d24d
1 changed files with 1 additions and 1 deletions

2
nvm.sh
View File

@ -317,7 +317,7 @@ nvm_is_valid_version() {
}
nvm_normalize_version() {
echo "${1#v}" | command awk -F. '{ command printf("%d%06d%06d\n", $1,$2,$3); }'
echo "${1#v}" | command awk -F. '{ printf("%d%06d%06d\n", $1,$2,$3); }'
}
nvm_ensure_version_prefix() {