Permalink
Browse files

Merge pull request #474 from mzgol/wget-hotfix

Hotfix: correctly map curl's `-C -` to wget
  • Loading branch information...
2 parents 4895aeb + 21fa842 commit 3b42df8d1dbf8a07bff9f47631e2b135117c5c1a @ljharb ljharb committed Jul 16, 2014
Showing with 2 additions and 2 deletions.
  1. +1 −1 install.sh
  2. +1 −1 nvm.sh
View
@@ -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
}
View
2 nvm.sh
@@ -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
}

0 comments on commit 3b42df8

Please sign in to comment.