Skip to content

Commit

Permalink
Merge pull request #864 from scottj97/git-submodule-fix
Browse files Browse the repository at this point in the history
Use `git rev-parse` to find .git dir
  • Loading branch information
kito-cheng authored Mar 16, 2021
2 parents 4e71151 + 87feee8 commit 88b004d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 88b004d

Please sign in to comment.