ensure metafiles being installed to prefix rather than libexec

This is a follow-up of Homebrew/homebrew#37734. I think we should treat `install_metafiles` as
a general issue rather than a formula-specific one.

Closes Homebrew/homebrew#37968.

Signed-off-by: Xu Cheng <xucheng@me.com>
This commit is contained in:
Xu Cheng 2015-03-23 01:25:55 +08:00
parent 96f7a8015f
commit d632294f0f

View File

@ -140,6 +140,7 @@ class Build
# Find and link metafiles
formula.prefix.install_metafiles Pathname.pwd
formula.prefix.install_metafiles formula.libexec if formula.libexec.exist?
end
end
end