diff options
author | isaacs <i@izs.me> | 2011-02-25 22:04:22 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2011-02-25 22:04:22 +0300 |
commit | c484c0efb119178b7cf5c8d3c1cffe8678c3374f (patch) | |
tree | 79d93268c1daa018be225774a5a6cf8f6afd9d70 | |
parent | 38be8521bd152033498af52a871a1c959591cb72 (diff) |
Explicitly pipe through gzip
Using tar -z doesn't work, and sniffing for gtar also is
breakage-inspiring.
-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 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=$? |