Skip site navigation (1)Skip section navigation (2)
Date:      17 Jun 2008 15:41:36 +1000
From:      Callum Gibson <callumgibson@optusnet.com.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/124677: install-sid in gnats4 port uses bash syntax
Message-ID:  <20080617054136.14831.qmail@omma.gibson.athome>
Resent-Message-ID: <200806171550.m5HFo2W7058270@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         124677
>Category:       ports
>Synopsis:       install-sid in gnats4 port uses bash syntax
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 17 15:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Callum Gibson
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD omma 6.2-STABLE FreeBSD 6.2-STABLE #4: Wed Aug 22 14:52:20 EST 2007 root@omma:/usr/obj/usr/src/sys/OMMA i386


	
>Description:
The install-sid script of the databases/gnats4 port is a /bin/sh script but uses a syntax
which is present only in ksh or bash. This results in the error:

/usr/local/bin/install-sid: 30: Syntax error: "(" unexpected

>How-To-Repeat:
Run install-sid and note syntax error when run.
>Fix:

Delete the word "function" from line 30 of the script. (patch to follow)


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080617054136.14831.qmail>