]> git.proxmox.com Git - novnc-pve.git/commitdiff
buildsys: write actual checked out git revision to SOURCE
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 23 Jan 2018 07:19:55 +0000 (08:19 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 25 Jan 2018 09:16:45 +0000 (10:16 +0100)
Makefile

index 70d192556f956c0acb63f9dcb471390e652ff357..537cd70631c56522fa898f56f26e18277d176114 100644 (file)
--- 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