]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix "srcid" on Windows
authorMichał Kępień <michal@isc.org>
Wed, 15 Apr 2020 09:38:40 +0000 (11:38 +0200)
committerMichał Kępień <michal@isc.org>
Wed, 15 Apr 2020 09:39:55 +0000 (11:39 +0200)
commit2d73af4e2abd9a7e203a2ad5c8522e19c9fe275c
tree1f1e0bfe3d459ff175946d7b8c70381f7ab9d1ac
parentfd32f53a7b8ad21e4ea64c985a510e9ad136f3c9
Fix "srcid" on Windows

Windows BIND releases produced by GitLab CI are built from Git
repositories, not from release tarballs, which means the "srcid" file is
not present in the top source directory when MSBuild is invoked.  This
causes the Git commit hash for such builds to be set to "unset_id".
Enable win32utils/Configure to try determining the commit hash for a
build by invoking Git on the build host if the "srcid" file is not
present (which is what its Unix counterpart does).

(cherry picked from commit 05e13e7cafaff48b5e3bb098114225df89f3e59c)
win32utils/Configure