On Friday 13 January 2006 7:22 pm, Derek Atkins wrote:
> Quoting Neil Williams <[EMAIL PROTECTED]>:
> > --- gnucash/trunk/src/bin/test/test-version 2006-01-13 17:41:53 UTC
> > (rev 12340)
> > +++ gnucash/trunk/src/bin/test/test-version 2006-01-13 19:12:12 UTC
> > (rev 12341)
> > @@ -1,3 +1,5 @@
> > #!/bin/sh
> > +PATH="../overrides/:$PATH"
> > +export PATH
> >
> > -exec ../gnucash --version
> > +exec gnucash-build-env gnucash --version
>
> I'm not sure this works..  Did you test this before you committed it?

Yes. make uninstall first, then tested src/bin/test-version and ran make 
check.

It certainly did not work before the change - and using only gnucash-build-env 
or just the PATH didn't work either. 
1) it can't find gnucash:
./test-version: line 8: exec: gnucash: not found
2) if you fix that, it can't find the scheme:
ERROR: no code for module (gnucash main)
3) without the path, it can't find gnucash-build-env:
./test-version: line 7: exec: gnucash-build-env: not found

As it is now:
test$ ./test-version
GnuCash 1.9.0 development version
and make check succeeds.

> It's going to call gnucash-env which is going to override the settings
> that gnucash-build-env sets.

It doesn't seem to and it does work.

-- 

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgpmTeqMty770.pgp
Description: PGP signature

_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to