summaryrefslogtreecommitdiffstats
path: root/src/script/sconsign.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/sconsign.py')
-rw-r--r--src/script/sconsign.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/sconsign.py b/src/script/sconsign.py
index 2e7a550..e7bc271 100644
--- a/src/script/sconsign.py
+++ b/src/script/sconsign.py
@@ -57,7 +57,7 @@ import sys
# engine modules if they're in either directory.
-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)