From 067d625ab2d87f748b5048cf542d5d6e64377d23 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 15 Apr 2020 20:04:54 +0200 Subject: [PATCH] buildsys: fix getting the build commit Signed-off-by: Thomas Lamprecht --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3ec8890..c9e3c17 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ ZSHCOMPLDIR=${PREFIX}/share/zsh/vendor-completions/ export PERLDIR=${PREFIX}/share/perl5 -GITVERSION:=$(shell cat .git/refs/heads/master) +GITVERSION:=$(shell git rev-parse HEAD) DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_all.deb DSC=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}.dsc