summaryrefslogtreecommitdiff
path: root/packaging/Debian/debian/scripts/unpatch-source
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/Debian/debian/scripts/unpatch-source')
-rwxr-xr-xpackaging/Debian/debian/scripts/unpatch-source7
1 files changed, 7 insertions, 0 deletions
diff --git a/packaging/Debian/debian/scripts/unpatch-source b/packaging/Debian/debian/scripts/unpatch-source
new file mode 100755
index 0000000000..81d51f7dd4
--- /dev/null
+++ b/packaging/Debian/debian/scripts/unpatch-source
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+for patch in debian/patches/*.patch; do
+ patch -p1 -R < $patch
+done
+
+exit 0