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-02-25 22:04:22 +0300
committerisaacs <i@izs.me>2011-02-25 22:04:22 +0300
commitc484c0efb119178b7cf5c8d3c1cffe8678c3374f (patch)
tree79d93268c1daa018be225774a5a6cf8f6afd9d70 /scripts
parent38be8521bd152033498af52a871a1c959591cb72 (diff)
Explicitly pipe through gzip
Using tar -z doesn't work, and sniffing for gtar also is breakage-inspiring.
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 c5b5860fa..2faffa570 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -54,7 +54,7 @@ if [ $ret -ne 0 ]; then
fi
cd "$TMP" \
- && curl -s -L "$url" | $tar -xzf - \
+ && curl -s -L "$url" | gzip --decompress --stdout | $tar -xf - \
&& cd * \
&& (node_version=`$node --version 2>&1`
ret=$?