From aceebed1581920845736dde5888bc2182206465a Mon Sep 17 00:00:00 2001 From: Michael Haro Date: Mon, 1 May 2000 19:53:54 +0000 Subject: 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. --- Tools/scripts/prpatch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 Tools/scripts/prpatch (limited to 'Tools/scripts/prpatch') 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 -- cgit v1.2.3