Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install.sh2
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://.*'`