mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Properly detect git in case of linked worktree
This commit is contained in:
@@ -106,7 +106,7 @@ fi
|
|||||||
# If we get here then this is NOT an svn checkout.
|
# If we get here then this is NOT an svn checkout.
|
||||||
# Maybe it's git?
|
# Maybe it's git?
|
||||||
real_gitdir="${real_srcdir}"/.git
|
real_gitdir="${real_srcdir}"/.git
|
||||||
if test -d "${real_gitdir}"
|
if test -d "${real_gitdir}" || test -e "${real_gitdir}"
|
||||||
then
|
then
|
||||||
# If we're only interested in the vcs type, then we're done here
|
# If we're only interested in the vcs type, then we're done here
|
||||||
if [ "$request" = "type" ]
|
if [ "$request" = "type" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user