passenger: use nginx src from opt_pkgshare instead of opt_share
This commit is contained in:
parent
e78965c528
commit
d543790cc3
1 changed files with 2 additions and 2 deletions
|
@ -37,8 +37,8 @@ class Passenger < Formula
|
|||
nginx_addon_dir = `./bin/passenger-config about nginx-addon-dir`.strip
|
||||
|
||||
mkdir "nginx" do
|
||||
system "tar", "-xf", "#{Formula["nginx"].opt_share}/src/src.tar.xz", "--strip-components", "1"
|
||||
args = (Formula["nginx"].opt_share/"src/configure_args.txt").read.split("\n")
|
||||
system "tar", "-xf", "#{Formula["nginx"].opt_pkgshare}/src/src.tar.xz", "--strip-components", "1"
|
||||
args = (Formula["nginx"].opt_pkgshare/"src/configure_args.txt").read.split("\n")
|
||||
args << "--add-dynamic-module=#{nginx_addon_dir}"
|
||||
|
||||
system "./configure", *args
|
||||
|
|
Loading…
Reference in a new issue