freebsd-ports/Tools/scripts/prpatch
Michael Haro aceebed158 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.
2000-05-01 19:53:54 +00:00

10 lines
147 B
Bash
Executable file

#!/bin/sh
#
# MAINTAINER= mharo@FreeBSD.org
#
# $FreeBSD$
#
patch $@ < pr-patch
find . -name '*.orig' -print -delete
find . -name '*.rej' -print