Check for submodules in SRCDIR
Change-Id: I4835c9aec33d611d0bdcd8150704866e76b49e9e Reviewed-on: https://gerrit.libreoffice.org/51957 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
parent
19d2ec6539
commit
c4170e4bcb
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ fetch: get-submodules
|
|||
|
||||
ifneq (,$(wildcard $(SRCDIR)/.git))
|
||||
get-submodules:
|
||||
ifneq ($(foreach i,$(GIT_NEEDED_SUBMODULES),$(i)/.git),$(wildcard $(foreach i,$(GIT_NEEDED_SUBMODULES),$(i)/.git)))
|
||||
ifneq ($(foreach i,$(GIT_NEEDED_SUBMODULES),$(SRCDIR)/$(i)/.git),$(wildcard $(foreach i,$(GIT_NEEDED_SUBMODULES),$(SRCDIR)/$(i)/.git)))
|
||||
cd $(SRCDIR) && ./g -f clone
|
||||
endif
|
||||
ifeq ($(shell test -d $(SRCDIR)/.git; echo $$?),0)
|
||||
|
|
Loading…
Reference in a new issue