From a64e40dac33bdf1ca2a6d8f280724f08ad2b48ae Mon Sep 17 00:00:00 2001 From: Geert Janssens Date: Sun, 18 Feb 2018 19:53:29 +0100 Subject: [PATCH] Properly detect git in case of linked worktree --- util/gnc-vcs-info | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/gnc-vcs-info b/util/gnc-vcs-info index 803d90520e..1e5658cc96 100755 --- a/util/gnc-vcs-info +++ b/util/gnc-vcs-info @@ -95,7 +95,7 @@ fi # Maybe it's git? real_gitdir="${real_srcdir}"/.git -if test -d "${real_gitdir}" +if test -d "${real_gitdir}" || test -e "${real_gitdir}" then # If we're only interested in the vcs type, then we're done here if [ "$request" = "type" ]