From 60955877b11cde0865a258ece040bd124fb07bdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Tue, 20 Feb 2018 11:10:25 +0100 Subject: [PATCH] buildsys: use git rev-parse for GITVERSION MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabian Grünbichler --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dc776ac..8b88b4a 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ MEDIAWIKI_PACKAGE=pve-docs-mediawiki # also update debian/changelog PKGREL=16 -GITVERSION:=$(shell cat .git/refs/heads/master) +GITVERSION:=$(shell git rev-parse HEAD) ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)