]> git.proxmox.com Git - novnc-pve.git/blobdiff - Makefile
buildsys: write actual checked out git revision to SOURCE
[novnc-pve.git] / 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