File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -5791,9 +5791,9 @@ HAS_GIT=no-repository
57915791fi
57925792if test $HAS_GIT = found
57935793then
5794- GITVERSION=" git -C \$ (srcdir) rev-parse --short HEAD"
5795- GITTAG=" git -C \$ (srcdir) describe --all --always --dirty"
5796- GITBRANCH=" git -C \$ (srcdir) name-rev --name-only HEAD"
5794+ GITVERSION=" git --git-dir \$ (srcdir)/.git rev-parse --short HEAD"
5795+ GITTAG=" git --git-dir \$ (srcdir)/.git describe --all --always --dirty"
5796+ GITBRANCH=" git --git-dir \$ (srcdir)/.git name-rev --name-only HEAD"
57975797else
57985798 GITVERSION=" "
57995799 GITTAG=" "
Original file line number Diff line number Diff line change @@ -1005,9 +1005,9 @@ HAS_GIT=no-repository
10051005fi
10061006if test $HAS_GIT = found
10071007then
1008- GITVERSION="git -C \$(srcdir) rev-parse --short HEAD"
1009- GITTAG="git -C \$(srcdir) describe --all --always --dirty"
1010- GITBRANCH="git -C \$(srcdir) name-rev --name-only HEAD"
1008+ GITVERSION="git --git-dir \$(srcdir)/.git rev-parse --short HEAD"
1009+ GITTAG="git --git-dir \$(srcdir)/.git describe --all --always --dirty"
1010+ GITBRANCH="git --git-dir \$(srcdir)/.git name-rev --name-only HEAD"
10111011else
10121012 GITVERSION=""
10131013 GITTAG=""
You can’t perform that action at this time.
0 commit comments