]> git.proxmox.com Git - pve-xtermjs.git/commitdiff
buildsys: fix GITVERSION
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 24 Jun 2019 06:53:30 +0000 (08:53 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 24 Jun 2019 06:53:30 +0000 (08:53 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 6e2f25cea45ace7e849499fc0ba0d1b753d4085a..6c98ddb1195ee265ecc422f5e0c4643ae94c7d46 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ XTERMJSTGZ=xterm-${XTERMJSVER}.tgz
 
 SRCDIR=src
 BUILDDIR ?= ${PACKAGE}-${DEB_VERSION_UPSTREAM}
-GITVERSION:=$(shell cat .git/refs/heads/master)
+GITVERSION:=$(shell git rev-parse HEAD)
 
 DEB=${PACKAGE}_${VERSION}_all.deb
 DSC=${PACKAGE}_${VERSION}.dsc