mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 22:31:51 +00:00
[Fix] Add missing "command" prefix for "tr", fix #1725
This commit is contained in:
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
Block a user