databases/gnats4: use sh-compatible syntax in install-sid.sh

PR:		ports/124677
Submitted by:	Callum Gibson <callumgibson@optusnet.com.au>
This commit is contained in:
Vasil Dimov 2008-07-22 09:38:25 +00:00
parent 6b3c157a77
commit 4511b97bb9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=217293
2 changed files with 12 additions and 0 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= gnats
PORTVERSION= 4.1.0
PORTREVISION= 1
CATEGORIES= databases devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= gnats

View file

@ -0,0 +1,11 @@
--- send-pr/install-sid.sh.orig 2008-07-22 12:35:01.000000000 +0300
+++ send-pr/install-sid.sh 2008-07-22 12:35:11.000000000 +0300
@@ -27,7 +27,7 @@
sysconfdir="@sysconfdir@"
COMMAND=`echo $0 | sed -e 's,.*/,,g'`
-function usage() {
+usage() {
cat << __EOF__ >&2
Usage: $COMMAND [OPTIONS] submitter-id