Apply fix for sconsign.py as well
authorChristian Sandberg <christiansandberg@me.com>
Thu, 21 Sep 2017 07:17:31 +0000 (09:17 +0200)
committerWilliam Deegan <bill@baddogconsulting.com>
Sun, 24 Sep 2017 19:20:40 +0000 (12:20 -0700)
src/script/sconsign.py

index 2e7a5506a1112615ce1b95078285775981286a29..e7bc2716358916582d5f75812afd884ca2a5686e 100644 (file)
@@ -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)