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/install.sh')
-rwxr-xr-xscripts/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install.sh b/scripts/install.sh
index f07517904..8430ea861 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -2,7 +2,7 @@
mkdir npm \
&& cd npm \
- && curl -L http://github.com/isaacs/npm/tarball/master | tar xz --strip 1 \
+ && curl -L http://github.com/isaacs/npm/tarball/master | tar xzf - --strip-components=1 \
&& make \
&& cd .. \
&& rm -rf npm \