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:
authorisaacs <i@izs.me>2011-04-04 22:29:16 +0400
committerisaacs <i@izs.me>2011-04-04 22:29:16 +0400
commit364dfc628c1625f5c3be4c515beec2cb15952146 (patch)
tree7be6b920695a35779eb40fbaa55ff49d672d0a03 /scripts
parentdd478c0b50964ada95209788a2a29b57d2a99b18 (diff)
Clobber in Makefile
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/install.sh b/scripts/install.sh
index 65db80170..b86790ce5 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -56,6 +56,7 @@ fi
url=`curl -s http://registry.npmjs.org/npm/$t \
| $egrep -o 'tarball":"[^"]+' \
+ | head -n 1 \
| $egrep -o 'http://.*'`
echo "fetching: $url" >&2