tags 633428 patch
user ubuntu-de...@lists.ubuntu.com
usertag origin-ubuntu oneiric

On Sun, Jul 10, 2011 at 11:08:31 (CEST), Reinhard Tartler wrote:

> Package: devscripts
> Version: 2.10.69ubuntu2
> Severity: normal
>
> please run quilt pop -a when option 'unapply-patches' is set in
> debian/source/local-options'. This is espc. handy when working on
> packages that are maintained in a VCS.
>
> Thanks for considering.

I've uploaded this patch to ubuntu:

http://launchpadlibrarian.net/74898075/devscripts_2.11.0ubuntu1_2.11.0ubuntu2.diff.gz

diff -Nru devscripts-2.11.0ubuntu1/scripts/debclean.sh 
devscripts-2.11.0ubuntu2/scripts/debclean.sh
--- devscripts-2.11.0ubuntu1/scripts/debclean.sh        2011-05-25 
03:55:45.000000000 +0000
+++ devscripts-2.11.0ubuntu2/scripts/debclean.sh        2011-07-10 
09:13:46.000000000 +0000
@@ -196,6 +196,11 @@
     # We now know we're OK and debuild won't complain about the dirname
     debuild $CHECKBUILDDEP clean
 
+    # Does the maintainer want to have patches unapplied?
+    if test -x /usr/bin/quilt && grep -qs ^unapply-patches 
debian/source/local-options; then
+        QUILT_PATCHES=debian/patches quilt pop -a
+    fi
+
     # Clean up the package related files
     if [ "$DEBCLEAN_CLEANDEBS" = yes ]; then
        cd ..


Cheers

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to