SCons D tooling patch

2013-06-29 Thread H. S. Teoh
Hi Russel,

After the latest hg pull from your SCons D tooling, bootstrap.py was
broken, and aborts with an error upon startup. Since I've been using
bootstrap.py to do all my D builds, this was a rather major
inconvenience.

But today, I managed to figure out the problem, so I've attached the
diff that fixed it for me.

Hope this helps.


T

-- 
Give a man a fish, and he eats once.
Teach a man to fish, and he will sit forever.
diff -r f57afb0b72f5 bootstrap.py
--- a/bootstrap.py  Wed May 15 12:50:05 2013 +0100
+++ b/bootstrap.py  Sat Jun 29 10:13:45 2013 -0700
@@ -197,7 +197,7 @@
 
 
 scons_py = os.path.join('src', 'script', 'scons.py')
-src_engine = os.path.join('src', 'engine')
+src_engine = os.path.join(script_dir, 'src', 'engine')
 MANIFEST_in = find(os.path.join(src_engine, 'MANIFEST.in'))
 
 files = [ scons_py ] + [os.path.join(src_engine, x)


Re: SCons D tooling patch

2013-06-30 Thread Russel Winder
T,

Can I get you to put this sort of thing on the SCons developer and.or
SCons user mailing list.

Since bootstrap.py is core SCons rather than just the D Tooling changes
really ought to be made in the mainline first and merged into the D
Tooling fork.

Actually I think there is even a bug report for this… I'll see if I can
hunt it out.

On Sat, 2013-06-29 at 10:18 -0700, H. S. Teoh wrote:
> Hi Russel,
> 
> After the latest hg pull from your SCons D tooling, bootstrap.py was
> broken, and aborts with an error upon startup. Since I've been using
> bootstrap.py to do all my D builds, this was a rather major
> inconvenience.
> 
> But today, I managed to figure out the problem, so I've attached the
> diff that fixed it for me.
> 
> Hope this helps.
> 
> 
> T
> 

-- 
Russel.
=
Dr Russel Winder  t: +44 20 7585 2200   voip: sip:russel.win...@ekiga.net
41 Buckmaster Roadm: +44 7770 465 077   xmpp: rus...@winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder


signature.asc
Description: This is a digitally signed message part