[Fix] Add missing "command" prefix for "tr", fix #1725
parent
225e447b54
commit
f290ccf1d5
2
nvm.sh
2
nvm.sh
|
@ -2277,7 +2277,7 @@ nvm() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local DEFAULT_IFS
|
local DEFAULT_IFS
|
||||||
DEFAULT_IFS=" $(echo t | tr t \\t)
|
DEFAULT_IFS=" $(echo t | command tr t \\t)
|
||||||
"
|
"
|
||||||
if [ "${IFS}" != "${DEFAULT_IFS}" ]; then
|
if [ "${IFS}" != "${DEFAULT_IFS}" ]; then
|
||||||
IFS="${DEFAULT_IFS}" nvm "$@"
|
IFS="${DEFAULT_IFS}" nvm "$@"
|
||||||
|
|
Loading…
Reference in New Issue