From 84fbdf080284a2befdf6c114fff50c3c7446b340 Mon Sep 17 00:00:00 2001 From: James Duley Date: Mon, 23 Nov 2015 21:02:29 +0000 Subject: [PATCH] LP-185 fix debian dist detection in packaging --- package/linux/deb.mk | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/package/linux/deb.mk b/package/linux/deb.mk index e7d0912cd..a7229b818 100644 --- a/package/linux/deb.mk +++ b/package/linux/deb.mk @@ -1,7 +1,4 @@ -# Get some info about the distro --include /etc/lsb-release - -DEB_DIST := $(DISTRIB_CODENAME) +DEB_DIST := $(shell lsb_release -c -s) # Instead of RELEASE-15.01-RC1 debian wants 15.01~RC1 UPSTREAM_VER := $(subst -,~,$(subst RELEASE-,,$(PACKAGE_LBL))) ifeq ($(DEB_DIST), unstable) # This should be set manually for a submission to Debian or similar