summaryrefslogtreecommitdiff
path: root/packaging/Debian/debian/scripts
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-02-02 15:44:37 +0000
committerGerald Carter <jerry@samba.org>2002-02-02 15:44:37 +0000
commitc8bc0fa4a7be25cb926750a56085e1e98ed9046b (patch)
treeec7bb9c0ce893fda80a6eb1f264c4717b3f667ac /packaging/Debian/debian/scripts
parent8cb4e23ffc77a9842e1304f3de20af5861982746 (diff)
downloadsamba-c8bc0fa4a7be25cb926750a56085e1e98ed9046b.tar.gz
samba-c8bc0fa4a7be25cb926750a56085e1e98ed9046b.tar.bz2
samba-c8bc0fa4a7be25cb926750a56085e1e98ed9046b.zip
merge from 2.2
(This used to be commit 473a89cde2e60c359cb435c714dc98974489a118)
Diffstat (limited to 'packaging/Debian/debian/scripts')
-rwxr-xr-xpackaging/Debian/debian/scripts/patch-source7
-rwxr-xr-xpackaging/Debian/debian/scripts/unpatch-source7
2 files changed, 14 insertions, 0 deletions
diff --git a/packaging/Debian/debian/scripts/patch-source b/packaging/Debian/debian/scripts/patch-source
new file mode 100755
index 0000000000..a95a002048
--- /dev/null
+++ b/packaging/Debian/debian/scripts/patch-source
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+for patch in debian/patches/*.patch; do
+ patch -p1 < $patch
+done
+
+exit 0
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