diff options
author | isaacs <i@izs.me> | 2011-04-04 22:20:58 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2011-04-04 22:20:58 +0400 |
commit | dd478c0b50964ada95209788a2a29b57d2a99b18 (patch) | |
tree | bbf163a3876dc3825015cfe133de3004bc08fc25 /scripts | |
parent | 9f2fa2b5d6397a054142af328102005afc22f960 (diff) |
Also try the nomake style if make fails
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/install.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/install.sh b/scripts/install.sh index 0df9102cb..65db80170 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -85,9 +85,7 @@ cd "$TMP" \ echo "Please upgrade node before continuing." exit $ret fi) \ - && (if ! [ "$make" = "NOMAKE" ]; then - $make clean install - else + && (if [ "$make" = "NOMAKE" ] || ! $make clean install; then $node cli.js cache clean $node cli.js rm npm --force --global $node cli.js install . --force --global |