summaryrefslogtreecommitdiffstats
path: root/src/script/scons.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/scons.py')
-rw-r--r--src/script/scons.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/scons.py b/src/script/scons.py
index bdf0cea..f2a44f8 100644
--- a/src/script/scons.py
+++ b/src/script/scons.py
@@ -65,7 +65,7 @@ Python < 3.5 is not yet supported.\n"
sys.exit(1)
-script_dir = sys.path[0]
+script_dir = os.path.dirname(os.path.realpath(__file__))
if script_dir in sys.path:
sys.path.remove(script_dir)