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>2010-12-03 23:58:04 +0300
committerisaacs <i@izs.me>2010-12-03 23:58:04 +0300
commit88fa4e07e7d161abeff559a8ff22cc6a423f8f80 (patch)
treeac4adeea096ad3101619c3a36a53648d74ec6635 /scripts
parent1a044bb99417d475b85774ac3d9a7c7a6439017a (diff)
I can't read.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/install.sh b/scripts/install.sh
index 43f8f5157..ca7d7491e 100644
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -10,8 +10,8 @@ if [ -n "$TMP" ]; then
fi
fi
BACK="$PWD"
-tar=${TAR}
-if [ -n "$tar" ]; then
+tar="${TAR}"
+if [ -z "$tar" ]; then
if which gtar 1>/dev/null 2>/dev/null; then
tar=gtar
else