diff --git a/Makefile b/Makefile index 2a304b1..6ef80e5 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ ifneq (${ARCH}, amd64) KERNEL_ARCH=${ARCH} endif -GITVERSION:=$(shell cat .git/refs/heads/master) +GITVERSION:=$(shell git rev-parse HEAD) CHANGELOG_DATE:=$(shell dpkg-parsechangelog -SDate -lchangelog.Debian) export SOURCE_DATE_EPOCH ?= $(shell dpkg-parsechangelog -STimestamp -lchangelog.Debian)