From: xtex <xtexchoo...@duck.com> 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 <xtexchoo...@duck.com> --- Please apply this to both 2.x and 3.x. Thank you! --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index bbc1ef29da88..96a5b6eba60a 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)"' base-commit: 7ef70b27ef907bba7479989a5376842c893b12bb -- 2.49.0