mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +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
|