aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/project/boost
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-10-12 13:09:09 +0500
committerEgor Tensin <egor@tensin.name>2026-10-12 13:09:09 +0500
commit59e69c1d68f6e1c92e3ea34433ceeb1a2c83b94d (patch)
treed4b5be7d175a95017efbfe449adad37c32289b35 /project/boost
parentREADME: update (diff)
downloadcmake-common-59e69c1d68f6e1c92e3ea34433ceeb1a2c83b94d.tar.gz
cmake-common-59e69c1d68f6e1c92e3ea34433ceeb1a2c83b94d.zip
use contextlib.chdir
Diffstat (limited to 'project/boost')
-rw-r--r--project/boost/directory.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/project/boost/directory.py b/project/boost/directory.py
index cc3d129..771f6ee 100644
--- a/project/boost/directory.py
+++ b/project/boost/directory.py
@@ -3,6 +3,7 @@
# For details, see https://github.com/egor-tensin/cmake-common
# Distributed under the MIT License.
+from contextlib import chdir
import logging
import os.path
@@ -18,7 +19,7 @@ class BoostDir:
self.path = path
def _go(self):
- return utils.cd(self.path)
+ return chdir(self.path)
def build(self, params):
with self._go():