summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Sandberg <christiansandberg@me.com>2017-09-21 07:17:31 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-09-24 19:20:40 (GMT)
commit381cd3a385330d03df615aa6aed205ba9aa40ae4 (patch)
tree75d1583fd51b7bdf063ad3de41672629d1a3b77a
parent6b6c51f010a032f5f7a7978845dd333d31b98ebf (diff)
downloadSCons-381cd3a385330d03df615aa6aed205ba9aa40ae4.zip
SCons-381cd3a385330d03df615aa6aed205ba9aa40ae4.tar.gz
SCons-381cd3a385330d03df615aa6aed205ba9aa40ae4.tar.bz2
Apply fix for sconsign.py as well
-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)