aboutsummaryrefslogblamecommitdiff
path: root/editors/vim/add-bad.sh
blob: a13edbca61c7194194e004eb643b9d7153d0248c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                     
:
# $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