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:
-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