summaryrefslogtreecommitdiff
path: root/Tools/scripts/prpatch
diff options
context:
space:
mode:
authorMichael Haro <mharo@FreeBSD.org>2000-05-01 19:53:54 +0000
committerMichael Haro <mharo@FreeBSD.org>2000-05-01 19:53:54 +0000
commitaceebed1581920845736dde5888bc2182206465a (patch)
tree267ab64fb4afb987c971cd028550ca391effe0ae /Tools/scripts/prpatch
parentFuture replacement to easy-import for adding ports to the tree. (diff)
3 little scripts I use when dealing with port update PRs.
getpr - downloads a problem report from GNATS and attempts to extract the patch, shar, uuencoded file from it. this probably needs to be checked for potential security problems. prpatch - just does `patch $1 < pr-patch' (pr-patch is created by getpr) prdone - checks in the port, attempting to fill out the commit message using information from the problem report and then takes you into edit-pr so you don't forget to close the PR.
Notes
Notes: svn path=/head/; revision=28245
Diffstat (limited to 'Tools/scripts/prpatch')
-rwxr-xr-xTools/scripts/prpatch10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tools/scripts/prpatch b/Tools/scripts/prpatch
new file mode 100755
index 000000000000..1b575f7adca4
--- /dev/null
+++ b/Tools/scripts/prpatch
@@ -0,0 +1,10 @@
+#!/bin/sh
+#
+# MAINTAINER= mharo@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+patch $@ < pr-patch
+find . -name '*.orig' -print -delete
+find . -name '*.rej' -print