Skip to content

Commit

Permalink
(conan-io#15800) fix b2 to work for conan2 in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
memsharded authored and sabelka committed Feb 12, 2023
1 parent 902f260 commit 0d9bb99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes/b2/portable/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from contextlib import contextmanager
import os
from six import StringIO
from io import StringIO

required_conan_version = ">=1.47.0"

Expand Down Expand Up @@ -126,7 +126,7 @@ def build(self):
with chdir(self, self._b2_engine_dir):
with self._bootstrap_env():
buf = StringIO()
self.run('guess_toolset && set', output=buf)
self.run('guess_toolset && set', buf)
guess_vars = map(
lambda x: x.strip(), buf.getvalue().split("\n"))
if "B2_TOOLSET=vcunk" in guess_vars:
Expand Down

0 comments on commit 0d9bb99

Please sign in to comment.