From daf8caccd4acb0988dd6d2c0eb30c21e880ed136 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Thu, 13 Sep 2012 09:15:24 -0400 Subject: Auctex needs user path; Fixes Homebrew/homebrew#14699 --- Library/Homebrew/build.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library') 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 -- cgit v1.2.3