diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/zsh.rb | 4 | ||||
| -rw-r--r-- | Library/Homebrew/keg.rb | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/zsh.rb b/Library/Formula/zsh.rb index 3e20bbef2..4e0bfa7f5 100644 --- a/Library/Formula/zsh.rb +++ b/Library/Formula/zsh.rb @@ -18,9 +18,9 @@ class Zsh < Formula args = %W[ --prefix=#{prefix} --enable-fndir=#{share}/zsh/functions - --enable-site-fndir=#{share}/zsh/site-functions --enable-scriptdir=#{share}/zsh/scripts - --enable-site-scriptdir=#{share}/zsh/site-scripts + --enable-site-fndir=#{HOMEBREW_PREFIX}/share/zsh/site-functions + --enable-site-scriptdir=#{HOMEBREW_PREFIX}/share/zsh/site-scripts --enable-cap --enable-maildir-support --enable-multibyte diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb index 6e0a857e0..b0f6f0e7b 100644 --- a/Library/Homebrew/keg.rb +++ b/Library/Homebrew/keg.rb @@ -80,6 +80,7 @@ class Keg < Pathname when INFOFILE_RX then ENV['HOMEBREW_KEEP_INFO'] ? :info : :skip_file when LOCALEDIR_RX then :mkpath when *share_mkpaths then :mkpath + when /^zsh/ then :mkpath else :link end end |
