From a74e269c828d62118fdecc69e1b66d0ee91ef5ac Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Fri, 9 Feb 2024 12:04:07 +0100 Subject: [PATCH] build-sys: allow a multi-digit release number future proofing at this point, but let's rather fix this already before we forget... Signed-off-by: Thomas Lamprecht --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 273cc186..28295395 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ include /usr/share/dpkg/default.mk include defines.mk -export PVERELEASE = $(shell echo $(DEB_VERSION_UPSTREAM) | cut -c 1-3) +export PVERELEASE = $(shell echo $(DEB_VERSION_UPSTREAM) | cut -d. -f1-2) export VERSION = $(DEB_VERSION_UPSTREAM_REVISION) BUILDDIR = $(PACKAGE)-$(DEB_VERSION_UPSTREAM)