From 5f6ca76d4885f910d5aaa587931bba06a6fc5edd Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 23 Jan 2018 08:19:55 +0100 Subject: [PATCH] buildsys: write actual checked out git revision to SOURCE --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 70d1925..537cd70 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,8 @@ PKGREL=4 SRCDIR=novnc ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH) -GITVERSION:=$(shell cat .git/refs/heads/master) + +GITVERSION:=$(shell git rev-parse HEAD) DEB=${PACKAGE}_${VER}-${PKGREL}_${ARCH}.deb