From a68754e70ab32d6ec0053fd50a5b135259f5f9ac Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Fri, 16 Nov 2018 11:27:11 +0000 Subject: Use dpkg_vendor_derives_from again This time with syntax that works. --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 94d84fd04..94990e023 100755 --- a/debian/rules +++ b/debian/rules @@ -35,7 +35,7 @@ endif # Change the version string to reflect distribution SSH_EXTRAVERSION := $(DEB_VENDOR)-$(shell echo '$(DEB_VERSION)' | sed -e 's/.*-//') -UBUNTU := $(shell dpkg-vendor --derives-from Ubuntu && echo yes || echo no) +UBUNTU := $(shell $(call dpkg_vendor_derives_from,Ubuntu)) ifeq ($(UBUNTU),yes) DEFAULT_PATH := /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games else -- cgit v1.2.3