1
0
mirror of https://github.com/odrling/Aegisub synced 2025-04-11 22:56:02 +02:00

force git directory in version.sh

This commit is contained in:
odrling 2020-02-29 16:23:55 +01:00
parent ab0a8b7129
commit 51a3ae4207
No known key found for this signature in database
GPG Key ID: EC907F69A27A90C5

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"