Skip to content

Commit

Permalink
Fix missing f in format string
Browse files Browse the repository at this point in the history
  • Loading branch information
pirate authored Nov 19, 2024
1 parent 2622088 commit 3b92477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion abx_pkg/binprovider_brew.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def default_abspath_handler(self, bin_name: BinName | HostBinPath, **context) ->
# not all brew-installed binaries are symlinked into the default bin dir (e.g. curl)
# because it might conflict with a system binary of the same name (e.g. /usr/bin/curl)
# so we need to check for the binary in the namespaced opt dir and Cellar paths as well
extra_path = self.PATH.replace('/bin', '/opt/{bin_name}/bin') # e.g. /opt/homebrew/opt/curl/bin/curl
extra_path = self.PATH.replace('/bin', f'/opt/{bin_name}/bin') # e.g. /opt/homebrew/opt/curl/bin/curl
search_paths = f'{self.PATH}:{extra_path}'

# add unlinked Cellar paths,e.g. /opt/homebrew/Cellar/curl/8.10.1/bin
Expand Down

0 comments on commit 3b92477

Please sign in to comment.