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-04-04 09:27:16 +0400
committerisaacs <i@izs.me>2011-04-04 09:27:16 +0400
commit008a98e3b8af12b65723b6ad2207c318b5e3fd06 (patch)
tree32f3708aaf12e4e4606983813af717a7a9c4df93 /scripts
parent5e191ffd4a44c005f348b6285f0f9bcdcd6682ee (diff)
Proper install technique when make is not found
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/install.sh b/scripts/install.sh
index 5cce785fa..ac9791073 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -85,8 +85,8 @@ cd "$TMP" \
$make clean install
else
$node cli.js cache clean
- $node cli.js rm npm -f
- $node cli.js install .
+ $node cli.js rm npm --force --global
+ $node cli.js install . --force --global
fi) \
&& cd "$BACK" \
&& rm -rf "$TMP" \