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-10-01 03:33:11 +0400
committerisaacs <i@izs.me>2011-10-01 03:33:11 +0400
commitd965a82a4752a6aa3dcc050975704e6b8eb1d158 (patch)
tree9e5e5262928a3b6dc813115b68af186b366d30c3 /scripts
parent44f6bda1883bd0c6b69e4cfd82076f104096cc3c (diff)
install.sh: Use tar -z, since npm does anyway
Diffstat (limited to 'scripts')
-rw-r--r--scripts/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install.sh b/scripts/install.sh
index 5757b8bf7..647f2447f 100644
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -162,7 +162,7 @@ echo "fetching: $url" >&2
cd "$TMP" \
&& curl -SsL --cacert "$cacert" "$url" \
- | gzip --decompress --stdout | $tar -xf - \
+ | $tar -xzf - \
&& cd * \
&& (node_version=`"$node" --version 2>&1`
ret=$?