summaryrefslogtreecommitdiff
path: root/buildscripts/scons.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildscripts/scons.py')
-rwxr-xr-xbuildscripts/scons.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildscripts/scons.py b/buildscripts/scons.py
index 8d26f5057cf..6143dc7e3b6 100755
--- a/buildscripts/scons.py
+++ b/buildscripts/scons.py
@@ -23,4 +23,5 @@ except ImportError as import_err:
print("ImportError:", import_err)
sys.exit(1)
-SCons.Script.main()
+if __name__ == '__main__':
+ SCons.Script.main()