From 869de9639733937e5ee6f8d25eca3e1e1559d1d9 Mon Sep 17 00:00:00 2001 From: isaacs Date: Wed, 23 Feb 2011 12:57:45 -0800 Subject: Don't use gtar. Just causing problems. --- scripts/install.sh | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'scripts') diff --git a/scripts/install.sh b/scripts/install.sh index 627292239..c5b5860fa 100755 --- a/scripts/install.sh +++ b/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` -- cgit v1.2.3