[pve-devel] [PATCH container] buildsys: actually save git revision

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Feb 7 10:38:00 CET 2018


${GITVERSION} is empty else.

Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 550713d..85855ce 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ VERSION=2.0
 PACKAGE=pve-container
 PKGREL=18
 
-GITVERSION:=$(git rev-parse HEAD)
+GITVERSION:=$(shell git rev-parse HEAD)
 
 ARCH:=all
 
-- 
2.14.2





More information about the pve-devel mailing list