diff --git a/Makefile b/Makefile index 70d1925..537cd70 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,8 @@ PKGREL=4 SRCDIR=novnc ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH) -GITVERSION:=$(shell cat .git/refs/heads/master) + +GITVERSION:=$(shell git rev-parse HEAD) DEB=${PACKAGE}_${VER}-${PKGREL}_${ARCH}.deb