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-19 21:18:41 +0300
committerisaacs <i@izs.me>2011-02-19 21:19:31 +0300
commit8b402751fb3b097febeaf9128f2e338db4071d2c (patch)
treef136814252ab5a9bcaeb2380ebdbbd4ba2b49c60 /Makefile
parent42921b7f1ff85ff4ae747dcbb14a02107ecc18bd (diff)
Closes GH-618 Don't do git on non-git folder
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b599a119c..582ed1e54 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ doc_subfolders = $(shell find doc -type d \
|sed 's|doc/|man1/|g' )
submodules:
- git submodule update --init
+ ! [ -d .git ] || git submodule update --init
install: submodules
node cli.js install npm