Subject: pkg/7037: gnucash shell usage oddity
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mason@acheron.middleboro.ma.us>
List: netbsd-bugs
Date: 02/22/1999 13:06:53
>Number:         7037
>Category:       pkg
>Synopsis:       gnucash (as supped this morning) expects /bin/bash
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 22 10:20:01 1999
>Last-Modified:
>Originator:     Mason Loring Bliss
>Organization:
Mason Loring Bliss             ((  "In the drowsy dark cave of the mind dreams
mason@acheron.middleboro.ma.us  ))  build  their nest  with fragments  dropped
http://acheron.ne.mediaone.net ((   from day's caravan." - Rabindranath Tagore
>Release:        -current as of 1999.02.15, pkgsrc as of 1999.02.22
>Environment:
System: NetBSD acheron.middleboro.ma.us 1.3I NetBSD 1.3I (MLB) #5: Mon Feb 15 16:42:46 EST 1999 root@acheron.middleboro.ma.us:/usr/src/sys/arch/i386/compile/MLB i386


>Description:

The file /usr/pkgsrc/misc/gnucash/work/gnucash-1.1.25/Makefile.init.in
refers to /bin/bash. If bash is really necessary, it should refer to
${PREFIX}/bin/bash, shouldn't it? Anyway, I haven't played around with
it, but having a link /bin/bash that points to /bin/sh was sufficient
to let the package compile and install normally, suggesting that there
is no functionality needed from bash that doesn't exist in sh.

>How-To-Repeat:

cd /usr/pkgsrc/misc/gnucash && make

>Fix:

Change the reference to /bin/bash to /bin/sh.

>Audit-Trail:
>Unformatted: