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 <xtexchooser@duck.com>
# 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)"'