Author: ryan
Date: 2009-12-10 07:59:02 +0000 (Thu, 10 Dec 2009)
New Revision: 2049

Modified:
   trunk/debian/changelog
   trunk/scripts/deb-reversion.sh
Log:
Fix deb-reversion with recent dpkg-dev, thanks to Salvatore
Bonaccorso (Closes: #559702)

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2009-12-08 09:02:35 UTC (rev 2048)
+++ trunk/debian/changelog      2009-12-10 07:59:02 UTC (rev 2049)
@@ -6,6 +6,10 @@
   [ Patrick Schoenfeld ]
   * licensecheck: Add support for some common variants of the WTFPL
 
+  [ Ryan Niebur ]
+  * Fix deb-reversion with recent dpkg-dev, thanks to Salvatore
+    Bonaccorso (Closes: #559702)
+
  -- Patrick Schoenfeld <[email protected]>  Tue, 08 Dec 2009 10:01:04 +0100
 
 devscripts (2.10.59) unstable; urgency=low

Modified: trunk/scripts/deb-reversion.sh
===================================================================
--- trunk/scripts/deb-reversion.sh      2009-12-08 09:02:35 UTC (rev 2048)
+++ trunk/scripts/deb-reversion.sh      2009-12-10 07:59:02 UTC (rev 2049)
@@ -188,7 +188,7 @@
 {
   cd ..
   dpkg-deb -b package >/dev/null
-  dpkg-name package.deb | sed -e 's,.*to `\(.*\).,\1,'
+  dpkg-name package.deb | sed -e "s,.*['\`]\(.*\).,\1,"
 }
 
 [ -z "${OLD_VERSION:-}" ] && OLD_VERSION="$(get_version $DEB)"



-- 
To unsubscribe, send mail to [email protected].

Reply via email to