From 389f289770f18b390aee3fe28ad646236cf25e08 Mon Sep 17 00:00:00 2001 From: Nanda H Krishna Date: Sat, 15 May 2021 23:14:34 +0530 Subject: [PATCH] utils/pypi: use `opt_bin` for pipgrip --- Library/Homebrew/utils/pypi.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/utils/pypi.rb b/Library/Homebrew/utils/pypi.rb index 3beff05829..8783284f57 100644 --- a/Library/Homebrew/utils/pypi.rb +++ b/Library/Homebrew/utils/pypi.rb @@ -212,7 +212,7 @@ module PyPI odie '"pipgrip" must be installed (`brew install pipgrip`)' unless @pipgrip_installed ohai "Retrieving PyPI dependencies for \"#{input_packages.join(" ")}\"..." if !print_only && !silent - command = [Formula["pipgrip"].bin/"pipgrip", "--json", "--no-cache-dir", *input_packages.map(&:to_s)] + command = [Formula["pipgrip"].opt_bin/"pipgrip", "--json", "--no-cache-dir", *input_packages.map(&:to_s)] pipgrip_output = Utils.popen_read(*command) unless $CHILD_STATUS.success? odie <<~EOS