2
## 99-unnamed.dpatch by Guenter Geiger (Debian/GNU) <geiger@debian.org>
4
## All lines beginning with `## DP:' are a description of the patch.
8
echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
12
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
13
patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
16
-patch) patch -p1 ${patch_opts} < $0;;
17
-unpatch) patch -R -p1 ${patch_opts} < $0;;
19
echo "`basename $0`: script expects -patch|-unpatch as argument" >&2