From: Christian Sandberg Date: Thu, 21 Sep 2017 07:17:31 +0000 (+0200) Subject: Apply fix for sconsign.py as well X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=381cd3a385330d03df615aa6aed205ba9aa40ae4;p=platform%2Fupstream%2Fscons.git Apply fix for sconsign.py as well --- diff --git a/src/script/sconsign.py b/src/script/sconsign.py index 2e7a5506..e7bc2716 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)