commit | ac234ea276f3aa0beb6da10f864c2212ebb215bb | [log] [tgz] |
---|---|---|
author | manarabdelaty <manarabdelatty@aucegypt.edu> | Tue Apr 20 13:16:11 2021 +0200 |
committer | manarabdelaty <manarabdelatty@aucegypt.edu> | Tue Apr 20 13:16:11 2021 +0200 |
tree | 0d6b74f2d6a0fc94a9d0f9a62a502832a9e14a07 | |
parent | faf6649ab575f2f4be6334289794d21ac4bcebf2 [diff] |
Makefile update install
diff --git a/Makefile b/Makefile index 01aa01f..43e7db2 100644 --- a/Makefile +++ b/Makefile
@@ -54,7 +54,7 @@ install: ifeq ($(SUBMODULE),1) @echo "Installing $(CARAVEL_NAME) as a submodule.." - @git submodule add --name $(CARAVEL_NAME) $(CARAVEL_REPO) $(CARAVEL_ROOT) + @if [ ! -d $(CARAVEL_ROOT) ]; then git submodule add --name $(CARAVEL_NAME) $(CARAVEL_REPO) $(CARAVEL_ROOT); fi @git submodule update --init $(MAKE) simlink else