summaryrefslogtreecommitdiff
path: root/bootstrap.py
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap.py')
-rw-r--r--bootstrap.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bootstrap.py b/bootstrap.py
index 1620bf3e..441d4715 100644
--- a/bootstrap.py
+++ b/bootstrap.py
@@ -81,6 +81,9 @@ local SConstruct file.
"""
bootstrap_dir = 'bootstrap'
+script_dir = os.path.split(__file__)[0]
+if script_dir:
+ bootstrap_dir = os.path.join(script_dir, bootstrap_dir)
pass_through_args = []
update_only = None