]> git.proxmox.com Git - pve-qemu.git/commitdiff
buildsys: fix GITVERSION
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 29 Nov 2017 09:25:06 +0000 (10:25 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 29 Nov 2017 09:25:06 +0000 (10:25 +0100)
Makefile

index dfbb1ac8c28e7f27bbcf2c3d8c7359429f1228cf..d6546fa0f6c1975f4b85365d27178c92030f8b6d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ BUILDSRC = $(KVMSRC).tmp
 SRCDIR := qemu
 
 ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
-GITVERSION := $(shell git rev-parse master)
+GITVERSION := $(shell git rev-parse HEAD)
 
 DEB = ${KVMPACKAGE}_${KVMVER}-${KVMPKGREL}_${ARCH}.deb
 DEB_DBG = ${KVMPACKAGE}-dbg_${KVMVER}-${KVMPKGREL}_${ARCH}.deb