diff options
author | isaacs <i@izs.me> | 2011-02-23 23:57:45 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2011-02-23 23:57:45 +0300 |
commit | 869de9639733937e5ee6f8d25eca3e1e1559d1d9 (patch) | |
tree | 921df2b783ab015e199b1f946698ccdceda06159 /scripts | |
parent | 313f2632b9f778ea9f1e66e4e9dd082e4766b52b (diff) |
Don't use gtar. Just causing problems.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/install.sh | 17 |
1 files changed, 1 insertions, 16 deletions
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` |