certbot: do not hardcode python cellar path
Closes #48408. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
c7d6aa34f7
commit
a66d013823
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ class Certbot < Formula
|
|||
homepage "https://certbot.eff.org/"
|
||||
url "https://github.com/certbot/certbot/archive/v1.0.0.tar.gz"
|
||||
sha256 "cb853d4aeff1bd28c6a20bb4b26e782a791a28dfee5b6cf410ef2b6f4f580bd8"
|
||||
revision 2
|
||||
revision 3
|
||||
head "https://github.com/certbot/certbot.git"
|
||||
|
||||
bottle do
|
||||
|
@ -183,7 +183,7 @@ class Certbot < Formula
|
|||
ENV.prepend_create_path "PYTHONPATH", libexec/"lib/python#{xy}/site-packages"
|
||||
|
||||
cd buildpath/"certbot" do
|
||||
system "python3", "setup.py", "install", "--prefix=#{libexec}"
|
||||
system "python3", *Language::Python.setup_install_args(libexec)
|
||||
end
|
||||
|
||||
# Shipped with certbot, not external resources.
|
||||
|
|
Loading…
Reference in a new issue