From 381cd3a385330d03df615aa6aed205ba9aa40ae4 Mon Sep 17 00:00:00 2001 From: Christian Sandberg Date: Thu, 21 Sep 2017 09:17:31 +0200 Subject: Apply fix for sconsign.py as well --- src/script/sconsign.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v0.12