From 76654c7125adc928ae9e88e0307ef32551b69cff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mariusz=20Koz=C5=82owski?= Date: Fri, 27 Sep 2024 16:49:18 +0200 Subject: [PATCH] Fix version info when git is not available --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8070cb4..cd0461f 100644 --- a/Makefile +++ b/Makefile @@ -104,7 +104,7 @@ endif PCFLAGS += -Wstrict-prototypes -fno-stack-protector -fpie -nostdlib -ffreestanding -fomit-frame-pointer -Wa,--noexecstack -GIT_VERSION = $(shell git describe --dirty 2>/dev/null | sed 's/^v//' || echo "unknown") +GIT_VERSION = $(shell git describe --dirty 2>/dev/null || echo "unknown" | sed 's/^v//') GOFF = ./gen-offsets.sh