ansible: fix install (#9167)

conforms better the DSL
master
Luca Favatella 2017-01-23 17:30:01 +00:00 committed by JCount
parent 3ffe4e604e
commit f518350a53
1 changed files with 1 additions and 1 deletions

View File

@ -546,7 +546,7 @@ class Ansible < Formula
def install
# https://github.com/Homebrew/homebrew-core/issues/7197
ENV.prepend "CPPFLAGS", "-I#{MacOS.sdk.path}/usr/include/ffi"
ENV.prepend "CPPFLAGS", "-I#{MacOS.sdk_path}/usr/include/ffi"
inreplace "lib/ansible/constants.py" do |s|
s.gsub! "/usr/share/ansible", pkgshare