From: xtex Date: Fri, 9 May 2025 11:14:50 +0000 (-0400) Subject: Build: call tools/version with sh X-Git-Tag: v3.1.1~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee8974708ceef3be81823e8afadb40553ac00b89;p=thirdparty%2Fbird.git 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 --- 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)"'