]> 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:28:04 +0000 (10:28 +0100)
Makefile

index e6b589720152a9b1866a6244a772ede7a15ef973..b7f2c74421ef6e6b1f9db008d1fb33696d16af67 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