diff options
| author | Max Howell | 2012-09-13 09:15:24 -0400 |
|---|---|---|
| committer | Max Howell | 2012-09-13 09:15:24 -0400 |
| commit | 9d9217da7a84a0ec971907dbd2fe5127b7f201ae (patch) | |
| tree | d24ff5c307faab24df72e9898d4e44043e620d8b /Library | |
| parent | 2506bcec9ebf299cb881384474768841395152bc (diff) | |
| download | homebrew-9d9217da7a84a0ec971907dbd2fe5127b7f201ae.tar.bz2 | |
Auctex needs user path; Fixes #14699
Diffstat (limited to 'Library')
| -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 |
