aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/project/boost/directory.py
diff options
context:
space:
mode:
Diffstat (limited to 'project/boost/directory.py')
-rw-r--r--project/boost/directory.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/project/boost/directory.py b/project/boost/directory.py
index 1cb3a77..cc3d129 100644
--- a/project/boost/directory.py
+++ b/project/boost/directory.py
@@ -8,7 +8,7 @@ import os.path
from project.os import on_windows
from project.toolset import Toolset
-from project.utils import cd, run
+from project import utils
class BoostDir:
@@ -18,7 +18,7 @@ class BoostDir:
self.path = path
def _go(self):
- return cd(self.path)
+ return utils.cd(self.path)
def build(self, params):
with self._go():
@@ -33,11 +33,13 @@ class BoostDir:
def bootstrap(self, params):
with self._go():
- run([self._bootstrap_path()] + self._bootstrap_args(params.toolset_version))
+ utils.run(
+ [self._bootstrap_path()] + self._bootstrap_args(params.toolset_version)
+ )
def _b2(self, params):
for b2_params in params.enum_b2_args():
- run([self._b2_path()] + b2_params)
+ utils.run([self._b2_path()] + b2_params)
@staticmethod
def _bootstrap_path():