Skip to content

Commit

Permalink
(#15550) fix: use correct OS check for settings_build when calling b2…
Browse files Browse the repository at this point in the history
… or bcp exe

* fix: use correct OS check for settings_build when calling b2 or bcp exe

* Apply suggestions from code review

fix: apply suggestions

Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com>

---------

Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com>
  • Loading branch information
Pro and SpaceIm authored Feb 3, 2023
1 parent 537b3e8 commit 275cb3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes/boost/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -774,12 +774,12 @@ def _clean(self):

@property
def _b2_exe(self):
return "b2.exe" if self._settings_build == "Windows" else "b2"
return "b2"

@property
def _bcp_exe(self):
folder = os.path.join(self.source_folder, "dist", "bin")
return os.path.join(folder, "bcp.exe" if self._settings_build == "Windows" else "bcp")
return os.path.join(folder, "bcp")

@property
def _use_bcp(self):
Expand Down

0 comments on commit 275cb3d

Please sign in to comment.