summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Quinson <mquinson@debian.org>2003-01-21 09:55:24 +0000
committerMartin Quinson <mquinson@debian.org>2003-01-21 09:55:24 +0000
commit8cea6b985ed4ff43d6865d485e5cec26fbe09923 (patch)
tree67a546c952833245d2a6ed36d955d3658dc3d1ba
parent541f4a5e48ea0272df02dcc3f4150af0fd19b5ba (diff)
downloadquilt-8cea6b985ed4ff43d6865d485e5cec26fbe09923.tar.gz
Move prep-patch to oldies, since it was used to prepare patches for inclusion in NS4 mails
-rwxr-xr-xoldies/prep-patch (renamed from needs-checking/prep-patch)11
1 files changed, 9 insertions, 2 deletions
diff --git a/needs-checking/prep-patch b/oldies/prep-patch
index 6fc4198..bdb4627 100755
--- a/needs-checking/prep-patch
+++ b/oldies/prep-patch
@@ -1,4 +1,10 @@
-#!/bin/sh
+#! /bin/bash
+
+# This script is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2 as
+# published by the Free Software Foundation.
+#
+# See the COPYING and AUTHORS files for more details.
. patchfns 2>/dev/null ||
. /usr/lib/patch-scripts/patchfns 2>/dev/null ||
@@ -17,5 +23,6 @@ fi
PATCHNAME=$(stripit $1)
-xcb -s 2 < $(patch_file_name $PATCHNAME)
head -2 $(txt_file_name $PATCHNAME) | tail -1 | tr -d '\n' | xcb -s 1
+xcb -p 1; echo
+cp $P/patches/$PATCHNAME.patch /tmp/patch