From ee8974708ceef3be81823e8afadb40553ac00b89 Mon Sep 17 00:00:00 2001 From: xtex Date: Fri, 9 May 2025 07:14:50 -0400 Subject: [PATCH] Build: call tools/version with sh As tools/version has a shebang line, it should be fine to just call it without specifying bash. Calling bash explicitly may lead to inconsistency, as the first line of tools/version indicates /usr/bin/sh but the script is always executed with bash. And, it adds bash as a new build dependency. Signed-off-by: xtex --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index ee893cea4..616f80608 100644 --- a/Makefile.in +++ b/Makefile.in @@ -44,7 +44,7 @@ exedir := @exedir@ # Find out which version we are actually building # This is rewritten by the release tools by hardcoded version -VERSION := $(strip $(shell bash $(srcdir)/tools/version)) +VERSION := $(strip $(shell $(srcdir)/tools/version)) CFLAGS += -DBIRD_VERSION='"$(VERSION)"' -- 2.47.2