Merge pull request #474 from mzgol/wget-hotfix

Hotfix: correctly map curl's `-C -` to wget
master
Jordan Harband 2014-07-16 10:16:18 -07:00
commit 3b42df8d1d
2 changed files with 2 additions and 2 deletions

View File

@ -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
}

2
nvm.sh
View File

@ -23,7 +23,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
}