Unverified Commit 88b004d4 authored by Kito Cheng's avatar Kito Cheng Committed by GitHub
Browse files

Merge pull request #864 from scottj97/git-submodule-fix

Use `git rev-parse` to find .git dir
parents 4e711512 87feee89
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment