]> git.proxmox.com Git - pve-container.git/commitdiff
build: use 'git rev-parse' for GITVERSION
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 1 Sep 2017 06:57:48 +0000 (08:57 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 1 Sep 2017 06:57:48 +0000 (08:57 +0200)
Makefile

index 9e43c177336ee98ade99acd7f6a717d1c0a3af6e..34e9397387f863e6eb95fb4b84ecf59355cd223f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ VERSION=2.0
 PACKAGE=pve-container
 PKGREL=15
 
-GITVERSION:=$(shell cat .git/refs/heads/master)
+GITVERSION:=$(git rev-parse HEAD)
 
 ARCH:=all