[Gnucash-changes] r12341 - gnucash/trunk - Using Derek's build-from-tree fix to fix the test-version check

Derek Atkins warlord at MIT.EDU
Fri Jan 13 14:22:42 EST 2006


Quoting Neil Williams <codehelp at cvs.gnucash.org>:

> --- 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?
It's going to call gnucash-env which is going to override the settings
that gnucash-build-env sets.

Right now src/bin/gnucash does NOT reset the PATH, so 
src/bin/overrides/gnucash
is actually never used (and should proabably be removed).

-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-changes mailing list