From 5f14861a438253646cf26afb5f85a43647ba5518 Mon Sep 17 00:00:00 2001 From: odrling Date: Sat, 29 Feb 2020 16:23:55 +0100 Subject: [PATCH] force git directory in version.sh --- tools/version.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/version.sh b/tools/version.sh index 8df33e175..df354d0de 100755 --- a/tools/version.sh +++ b/tools/version.sh @@ -1,5 +1,6 @@ builddir="$1" srcdir="$2" +export GIT_DIR="${srcdir}/.git" # If no git repo try to read from the existing git_version.h, for building from tarballs version_h_path="${builddir}/git_version.h"