mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
13 lines
176 B
Bash
13 lines
176 B
Bash
:
|
|
# $FreeBSD$
|
|
|
|
usage() {
|
|
echo 'usage: ${0##*/} <bad patch #s to add to ${BADPATCHES}>'
|
|
exit 1
|
|
}
|
|
if [ $# -lt 1 ]; then
|
|
usage
|
|
fi
|
|
|
|
sed -i '' "s/^BADPATCHES=.*$/& $*/" Makefile
|