[Scons-dev] Windows Path
Russel Winder
russel at winder.org.uk
Sun Sep 7 08:46:34 EDT 2014
On Sat, 2014-09-06 at 12:19 -0400, William Blevins wrote:
> Even on Linux SCons doesn't use the PATH as defined by the shell. This is
> intentional so that builds can be reproduced. You may need to add
> additional path directories or push the shell PATH into the SCons
> environment path.
Absolutely. Greg was always very vocal on how any other decision was
totally unacceptable.
I have hacked the D tools tests to use:
test.where_is(tool, Base()['PATH'])
which forces where_is to use the SCons default path for the platform.
This has I think fixed the recurring problem that the D tools tests were
getting false positives for tools in the path.
However the above is a "hideous hack", we need a better default for
where_is. But I think though I have successfully made my case on
this :-)
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20140907/725a7faa/attachment.pgp>
More information about the Scons-dev
mailing list