Document the -f option correctly, support building a parallel tree by pointing to...
[scons.git] / src / engine / SCons / Script / __init__.py
index ca0d50e8ce60fb3009944637059f075ffd15d885..1f9daf5b07b4bf5a53ed03f1f7f3f2892d22eb1d 100644 (file)
@@ -742,6 +742,8 @@ def _main():
     if not scripts:
         raise SCons.Errors.UserError, "No SConstruct file found."
 
+    SCons.Node.FS.default_fs.set_SConstruct(scripts[0])
+
     class Unbuffered:
         def __init__(self, file):
             self.file = file