source: build-files/ports-overlay/editors/vim/add-bad.sh @ dc90854

9.2-releasereleng/10.0releng/10.0.1releng/10.0.2releng/10.0.3releng/10.1
Last change on this file since dc90854 was dc90854, checked in by Kris Moore <kris@…>, 14 months ago

Attempt to fix editors/vim on 10.x

  • Property mode set to 100644
File size: 236 bytes
Line 
1:
2# $FreeBSD: editors/vim/add-bad.sh 302686 2012-08-17 16:08:14Z obrien $
3
4usage() {
5        echo 'usage: ${0##*/} <bad patch #s to add to ${BADPATCHES}>'
6        exit 1
7}
8if [ $# -lt 1 ]; then
9        usage
10fi
11
12sed -i '' "s/^BADPATCHES=.*$/& $*/" Makefile
Note: See TracBrowser for help on using the repository browser.