diff options
| author | Max Howell | 2012-09-13 09:15:24 -0400 |
|---|---|---|
| committer | Max Howell | 2012-09-13 09:15:24 -0400 |
| commit | daf8caccd4acb0988dd6d2c0eb30c21e880ed136 (patch) | |
| tree | 1e1b30014277c579e05f8997810fc86506cfb562 /Library/Homebrew | |
| parent | d40bbe5af452d14c4d30b488ab565d522a2bce62 (diff) | |
| download | brew-daf8caccd4acb0988dd6d2c0eb30c21e880ed136.tar.bz2 | |
Auctex needs user path; Fixes Homebrew/homebrew#14699
Diffstat (limited to 'Library/Homebrew')
| -rwxr-xr-x | Library/Homebrew/build.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb index afd94b7cd..7072bd267 100755 --- a/Library/Homebrew/build.rb +++ b/Library/Homebrew/build.rb @@ -67,8 +67,8 @@ def post_superenv_hacks f # end # # NOTE I think all ENV stuff should be specified with a DSL like this now. - case f.name - when 'lilypond', 'nginx' + case f.name.to_sym + when :lilypond, :nginx, :auctex paths = ORIGINAL_PATHS.map{|pn| pn.realpath.to_s rescue nil } - %w{/usr/X11/bin /opt/X11/bin} ENV['PATH'] = "#{ENV['PATH']}:#{paths.join(':')}" end |
