RFC: remove src/bin/overrides/gnucash script

Derek Atkins warlord at MIT.EDU
Fri Jan 13 17:02:10 EST 2006


Quoting Chris Shoemaker <c.shoemaker at cox.net>:

> On Fri, Jan 13, 2006 at 04:33:06PM -0500, Derek Atkins wrote:
>> Now that we have gnucash-bin, I think we might want to remove
>> the (unneeded) gnucash override script.
>
> I think _all_ of the scripts in src/bin/overrides are obsolete, except
> maybe gnucash-build-env, which could be moved to src/bin if it really
> works.
>
> If you do that, I think we no longer install anything to libexec
> either.

I'm not convinced that gnucash-env is obsolete.  Indeed, there's
an argument that gnucash-bin should be moved into overrides and that
the top-level "gnucash" should set just set the PATH to include the
overrides, and then call:

  gnucash-env gnucash-bin "$@"

Arguably gnucash-valgrind should do something similar:

  gnucash-env valgrind -v \
    --suppressions=${TOP_SRC_DIR}/src/valgrind-gnucash.supp  \
    --error-limit=no \
    --tool=callgrind \
    --instr-atstart=no \
    --collect-atstart=no \
    gnucash-bin "$@"

But that's just my personal opinion....

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the gnucash-devel mailing list