From f632cf6f4503762b793a7c5a77548b3dec294eef Mon Sep 17 00:00:00 2001 From: Thomas Dallmair Date: Sun, 29 Dec 2024 01:28:01 +0100 Subject: [PATCH] Fix build_alpine when pushing debian branch --- tools/version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/version.sh b/tools/version.sh index 2ebf70fa..ff6ba34a 100755 --- a/tools/version.sh +++ b/tools/version.sh @@ -2,7 +2,7 @@ # Sorry about the Debian nonsense in here but the build system doesn't # patch the file early enough and overriding it is a PITA -if test -s debian/changelog ; then +if test -s debian/changelog && which dpkg-parsechangelog >/dev/null ; then dpkg-parsechangelog -SVersion | sed -e 's/.*://' -e 's/-.*//' exit fi