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.master
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