chiark / gitweb /
dpkg-quilt-setup: workaround for http://bugs.debian.org/572204
authorColin Watson <cjwatson@chiark.greenend.org.uk>
Thu, 9 Sep 2010 17:24:06 +0000 (18:24 +0100)
committerColin Watson <cjwatson@chiark.greenend.org.uk>
Thu, 9 Sep 2010 17:24:06 +0000 (18:24 +0100)
dpkg-quilt-setup [new file with mode: 0755]

diff --git a/dpkg-quilt-setup b/dpkg-quilt-setup
new file mode 100755 (executable)
index 0000000..291cac7
--- /dev/null
@@ -0,0 +1,8 @@
+#! /bin/sh
+set -e
+
+[ -d .pc ] && exit 0
+for patch in $(quilt series | tac); do
+       patch -p1 -R --no-backup-if-mismatch <"debian/patches/$patch"
+done
+quilt push -a