diff options
author | Chris Wong <chris@chriswongstudio.com> | 2011-04-07 03:19:12 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2011-04-07 05:09:05 +0400 |
commit | 8e113f8dc4e1a557e7d597e500da4f59a1d36154 (patch) | |
tree | 5fdb612957d0addcbadaa229b8e01a7dc43bff5f /scripts | |
parent | 6f74a741c4fceb3afb753e5c996579e8b8291a4f (diff) |
install.sh uses curl -L to go through proxy server with 302 redirect
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install.sh b/scripts/install.sh index b86790ce5..8dbf9acf2 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -54,7 +54,7 @@ if [ -z "$t" ]; then t="latest" fi -url=`curl -s http://registry.npmjs.org/npm/$t \ +url=`curl -s -L http://registry.npmjs.org/npm/$t \ | $egrep -o 'tarball":"[^"]+' \ | head -n 1 \ | $egrep -o 'http://.*'` |