We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d93b74a commit fe06c36Copy full SHA for fe06c36
scripts/install.sh
@@ -1,8 +1,9 @@
1
#!/bin/sh
2
r=${RANDOM-$(date +%s)}
3
+tar=${TAR-$(if (which gtar 2>/dev/null) ; then which gtar ; else echo "tar" ; fi)}
4
mkdir npm-$r \
5
&& cd npm-$r \
- && curl -L http://github.com/isaacs/npm/tarball/master | tar xzf - --strip-components=1 \
6
+ && curl -L http://github.com/isaacs/npm/tarball/master | $tar xzf - --strip-components=1 \
7
&& make uninstall install \
8
&& cd .. \
9
&& rm -rf npm-$r \
0 commit comments