Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't use gtar. Just causing problems.

  • Loading branch information...
commit 869de9639733937e5ee6f8d25eca3e1e1559d1d9 1 parent 313f263
@isaacs isaacs authored
Showing with 1 addition and 16 deletions.
  1. +1 −16 scripts/install.sh
View
17 scripts/install.sh
@@ -27,22 +27,7 @@ BACK="$PWD"
tar="${TAR}"
if [ -z "$tar" ]; then
- tar=`which gtar 2>&1`
- if [ $? -ne 0 ] || ! [ -x $tar ]; then
- tar=tar
- else
- # tar is used by npm, so let's set the config all over the place.
- # This isn't guaranteed to work, but it is very likely.
- if [ -d $HOME ]; then
- echo "tar = $tar" >> $HOME/.npmrc
- fi
- globalconfig=`dirname "$node"`
- globalconfig=`dirname "$globalconfig"`
- globalconfig="$globalconfig"/etc/npmrc
- echo "tar = $tar" >> $globalconfig
-
- echo "It would be wise to add 'TAR=$tar' to your environment." >&2
- fi
+ tar=tar
fi
egrep=`which gegrep 2>&1`
Please sign in to comment.
Something went wrong with that request. Please try again.