fix version.sh

This commit is contained in:
odrling 2020-11-22 18:56:14 +01:00
parent 324dd164f2
commit 7a9ef2112c
1 changed files with 1 additions and 0 deletions

View File

@ -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"