From cf78cedea8b9780de371e4e10893b2ecfed2ba4d Mon Sep 17 00:00:00 2001
From: Thibault Cohen <thibault.cohen@savoirfairelinux.com>
Date: Mon, 13 Apr 2015 14:57:14 -0400
Subject: [PATCH] Fix repo package

Change-Id: Iab4e52fa5f3b03a1b3809902549b980aa4eab186
---
 debian/rules | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index fd2d375af3..d7eb2a51e8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,14 +5,14 @@ PKD  = $(abspath $(dir $(MAKEFILE_LIST)))
 #PKG  = $(word 2,$(shell dpkg-parsechangelog -l$(PKD)/changelog --show-field=Source))
 PKG  = $(shell dpkg-parsechangelog -l$(PKD)/changelog --show-field=Source)
 VER ?= $(shell dpkg-parsechangelog -l$(PKD)/changelog | perl -ne 'print $$1 if m{^Version:\s+(?:\d+:)?(\d.*)(?:\-\d+.*)};')
-DISTRIB_ID = $(shell grep -hPo "ID=\K.*" /etc/*ease)
-DISTRIB_VERSION_ID = $(shell grep -hPo "VERSION_ID=\K.*" /etc/*ease)
+DISTRIB_ID = $(shell grep -hPo "^ID=\K.*" /etc/*ease)
+DISTRIB_VERSION_ID = $(shell grep -hPo "^VERSION_ID=\K.*" /etc/*ease)
 
 # Uncomment this to turn on verbose mode.
 export DH_VERBOSE=1
 
 %:
-	dh $@ 
+	dh $@
 
 override_dh_auto_configure:
 	mkdir -p contrib/native && cd contrib/native && ../bootstrap --disable-ogg --disable-flac --disable-vorbis --disable-vorbisenc --disable-speex --disable-sndfile --disable-speexdsp --disable-gnutls && make list && make -j 2
-- 
GitLab