From 0bd17f9ffc647f61203f9cb28321142527ac85e2 Mon Sep 17 00:00:00 2001 From: Ken Hornstein Date: Tue, 16 May 2017 21:30:10 -0400 Subject: [PATCH] Make sure we are in the correct directory when we do "git describe". --- config/version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/version.sh b/config/version.sh index b94c62cc..5b76808f 100755 --- a/config/version.sh +++ b/config/version.sh @@ -8,7 +8,7 @@ set -e version=${1?} host=`uname -n` if test -d "$srcdir/.git"; then - git=" `git describe --long --dirty`" + git=" `git -C $srcdir describe --long --dirty`" else git= fi -- 2.56.0