summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Script/Main.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SCons/Script/Main.py')
-rw-r--r--src/engine/SCons/Script/Main.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/engine/SCons/Script/Main.py b/src/engine/SCons/Script/Main.py
index 71f6d61..f50273e 100644
--- a/src/engine/SCons/Script/Main.py
+++ b/src/engine/SCons/Script/Main.py
@@ -868,8 +868,6 @@ def _main(args, parser):
if script_dir:
display("scons: Entering directory `%s'" % script_dir)
os.chdir(script_dir)
- else:
- raise SCons.Errors.UserError, "No SConstruct file found."
fs.set_toplevel_dir(os.getcwd())