[kernel] r18674 - dists/trunk/linux-2.6/debian

Ben Hutchings benh at alioth.debian.org
Fri Feb 10 02:32:56 UTC 2012


Author: benh
Date: Fri Feb 10 02:32:52 2012
New Revision: 18674

Log:
Fix regexp for binNMU detection

In basic regular expressions, the correct way to match a literal '+'
is just '+'.

Modified:
   dists/trunk/linux-2.6/debian/rules

Modified: dists/trunk/linux-2.6/debian/rules
==============================================================================
--- dists/trunk/linux-2.6/debian/rules	Fri Feb 10 02:21:15 2012	(r18673)
+++ dists/trunk/linux-2.6/debian/rules	Fri Feb 10 02:32:52 2012	(r18674)
@@ -5,7 +5,7 @@
 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
 



More information about the Kernel-svn-changes mailing list