Skip to content

Commit 0406142

Browse files
committed
More solarisy fixes to the easy install script
1 parent fe06c36 commit 0406142

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22
r=${RANDOM-$(date +%s)}
3-
tar=${TAR-$(if (which gtar 2>/dev/null) ; then which gtar ; else echo "tar" ; fi)}
3+
tar=${TAR-$(if which gtar 1>/dev/null 2>/dev/null; then echo "gtar" ; else echo "tar" ; fi)}
44
mkdir npm-$r \
55
&& cd npm-$r \
66
&& curl -L http://github.com/isaacs/npm/tarball/master | $tar xzf - --strip-components=1 \

0 commit comments

Comments
 (0)