SCons D tooling patch

H. S. Teoh hsteoh at quickfur.ath.cx
Sat Jun 29 10:18:11 PDT 2013


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.
-------------- next part --------------
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)


More information about the Digitalmars-d mailing list