From ecd24ebe788ac741a49697c8376537c5465a7e37 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Fri, 10 Feb 2012 02:32:52 +0000 Subject: [PATCH] Fix regexp for binNMU detection In basic regular expressions, the correct way to match a literal '+' is just '+'. svn path=/dists/trunk/linux-2.6/; revision=18674 --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 88e76abeb..c73a62972 100755 --- a/debian/rules +++ b/debian/rules @@ -5,7 +5,7 @@ DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) SOURCE := $(shell dpkg-parsechangelog | sed -ne 's,^Source: *\(.*\)$$,\1,p') VERSION := $(shell dpkg-parsechangelog | sed -ne 's,^Version: *\(.*\)$$,\1,p') VERSION_UPSTREAM := $(shell echo "$(VERSION)" | sed -e 's,-[^-]*$$,,') -VERSION_BINNMU := $(shell echo "$(VERSION)" | sed -ne 's,.*\+b\(.*\)$$,\1,p') +VERSION_BINNMU := $(shell echo "$(VERSION)" | sed -ne 's,.*+b\(.*\)$$,\1,p') include debian/rules.defs