From 3b924776ae693c2076012612f5c3bdc568b4a089 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Tue, 19 Nov 2024 05:22:28 -0800 Subject: [PATCH] Fix missing f in format string --- abx_pkg/binprovider_brew.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abx_pkg/binprovider_brew.py b/abx_pkg/binprovider_brew.py index 40b8f9a..71cbf06 100755 --- a/abx_pkg/binprovider_brew.py +++ b/abx_pkg/binprovider_brew.py @@ -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