Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2011-02-23 23:57:45 +0300
committerisaacs <i@izs.me>2011-02-23 23:57:45 +0300
commit869de9639733937e5ee6f8d25eca3e1e1559d1d9 (patch)
tree921df2b783ab015e199b1f946698ccdceda06159 /scripts
parent313f2632b9f778ea9f1e66e4e9dd082e4766b52b (diff)
Don't use gtar. Just causing problems.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install.sh17
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`