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
This commit is contained in:
Ben Hutchings 2012-02-10 02:32:52 +00:00
parent 1a1e4bde86
commit ecd24ebe78
1 changed files with 1 additions and 1 deletions

2
debian/rules vendored
View File

@ -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