aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index ab2cc05..1fd5463 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -245,8 +245,8 @@ endif
$(srcdir)/%/.git:
cd $(srcdir) && \
- flock $(srcdir)/.git/config git submodule init $(dir $@) && \
- flock $(srcdir)/.git/config git submodule update $(dir $@)
+ flock `git rev-parse --git-dir`/config git submodule init $(dir $@) && \
+ flock `git rev-parse --git-dir`/config git submodule update $(dir $@)
#
# GLIBC