From 9c9a76db5aab79f97b8c0d602b1e2328c7bbab82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albert=20Gr=C3=A4f?= Date: Tue, 10 Jan 2023 07:19:53 +0100 Subject: [PATCH] Simplify the git describe command, so that it will work without sed. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e238e52..e49bb89 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ lib.name = pdlua -pdlua_version := $(shell git describe --tags 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g') +pdlua_version := $(shell git describe --tags 2>/dev/null) luasrc = $(wildcard lua/onelua.c)