zsh: fix audit warnings

This commit resolves the following three audit warnings when running
`brew audit --strict zsh`:

 * Use #{pkgshare} instead of #{share}/zsh
 * Use #{pkgshare} instead of #{share}/zsh
 * Use #{pkgshare} instead of #{share}/zsh

Closes #163.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
Brooks Swinnerton 2016-04-08 15:11:07 -04:00 committed by ilovezfs
parent f6c05a414b
commit cfd93418c4

View file

@ -28,11 +28,11 @@ class Zsh < Formula
args = %W[
--prefix=#{prefix}
--enable-fndir=#{share}/zsh/functions
--enable-scriptdir=#{share}/zsh/scripts
--enable-fndir=#{pkgshare}/functions
--enable-scriptdir=#{pkgshare}/scripts
--enable-site-fndir=#{HOMEBREW_PREFIX}/share/zsh/site-functions
--enable-site-scriptdir=#{HOMEBREW_PREFIX}/share/zsh/site-scripts
--enable-runhelpdir=#{share}/zsh/help
--enable-runhelpdir=#{pkgshare}/help
--enable-cap
--enable-maildir-support
--enable-multibyte