From e68638230aae14fdb53f022e3092eb9a2e542fbd Mon Sep 17 00:00:00 2001 From: "Doncho N. Gunchev" Date: Thu, 22 Feb 2024 09:13:09 +0200 Subject: [PATCH] Fix getting version from GIT on EL9. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9c0932c..17010e5 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ SHELL:=/bin/bash # Use bash syntax, mitigates dash's printf on Debian -ver:=$(shell git describe --tags --always --match='v[0-9]*.[0-9]*' | cut -c 2-) +ver:=$(shell git describe --tags --always --match='v[0-9]*.[0-9]*' | cut -c 2- | cut -d - -f 1) help: