mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 22:31:51 +00:00
Hotfix: correctly map curl's -C -
to wget
wget doesn't need or accept the `-` parameter to `-c`. This incorrect mapping causes `nvm install` to fail on a curlless OS.
This commit is contained in:
parent
4895aebf0a
commit
21fa84225c
@ -22,7 +22,7 @@ nvm_download() {
|
||||
ARGS=${ARGS/-I /}
|
||||
ARGS=${ARGS/-s /-q }
|
||||
ARGS=${ARGS/-o /-O }
|
||||
ARGS=${ARGS/-C /-c }
|
||||
ARGS=${ARGS/-C - /-c }
|
||||
wget $ARGS
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user