From 0817d233c8b1125dea5efd401605790185221cb8 Mon Sep 17 00:00:00 2001 From: Lourens Veen Date: Thu, 12 Mar 2026 13:16:27 +0100 Subject: [PATCH] Fix version detection to work with older gmakes --- support/shared/version.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/support/shared/version.mk b/support/shared/version.mk index 6758ba731b..95105413b1 100644 --- a/support/shared/version.mk +++ b/support/shared/version.mk @@ -1,7 +1,8 @@ AMUSE_VERSION := $(patsubst v%,%,$(shell git describe --tags)) ifeq (,$(AMUSE_VERSION)) - AMUSE_VERSION := $(shell grep -v '^#' ../../VERSION) + H := # + AMUSE_VERSION := $(shell grep -v '^$H' ../../VERSION) endif export AMUSE_VERSION