Fix getting version from GIT on EL9.

This commit is contained in:
Doncho N. Gunchev 2024-02-22 09:13:09 +02:00
parent bce45e0c3e
commit e68638230a
Signed by: dgunchev
GPG key ID: D30FD19F37E002A9

View file

@ -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: