1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/editors/vim/add-bad.sh
2012-08-17 16:08:14 +00:00

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