summaryrefslogtreecommitdiffstats
path: root/src/script
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-02-25 22:44:34 (GMT)
committerSteven Knight <knight@baldmt.com>2002-02-25 22:44:34 (GMT)
commit22377ca1715d2b67a5e72cdede0fb0103e4c7ff1 (patch)
treef6c258a93e60f2ec1132871dc9ea7e81a22c2d62 /src/script
parent8289435e0814081e0be0f8dbb096d0c59415f890 (diff)
downloadSCons-22377ca1715d2b67a5e72cdede0fb0103e4c7ff1.zip
SCons-22377ca1715d2b67a5e72cdede0fb0103e4c7ff1.tar.gz
SCons-22377ca1715d2b67a5e72cdede0fb0103e4c7ff1.tar.bz2
Initialize the new branch.
Diffstat (limited to 'src/script')
-rw-r--r--src/script/scons.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/script/scons.py b/src/script/scons.py
index 3490873..8e64d1d 100644
--- a/src/script/scons.py
+++ b/src/script/scons.py
@@ -37,6 +37,10 @@ import os
# followed by generic) so we pick up the right version of the build
# engine modules if they're in either directory.
+selfdir = os.path.abspath(sys.argv[0])
+if selfdir in sys.path:
+ sys.path.remove(selfdir)
+
libs = []
if os.environ.has_key("SCONS_LIB_DIR"):