summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-03-27 16:38:07 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-03-28 08:15:46 +0200
commitc4170e4bcba61865425d03a1292b9aea39dc1e6d (patch)
tree72885a40c84991501956db4bfaf13d9151da8e4c /Makefile.in
parent19d2ec6539f789dfbe38612e5e7807cac9fe0819 (diff)
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>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 0b2340a0ef58..e8a6433d2491 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -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)