aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2012-09-13 09:15:24 -0400
committerMax Howell2012-09-13 09:15:24 -0400
commitdaf8caccd4acb0988dd6d2c0eb30c21e880ed136 (patch)
tree1e1b30014277c579e05f8997810fc86506cfb562 /Library
parentd40bbe5af452d14c4d30b488ab565d522a2bce62 (diff)
downloadbrew-daf8caccd4acb0988dd6d2c0eb30c21e880ed136.tar.bz2
Auctex needs user path; Fixes Homebrew/homebrew#14699
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Homebrew/build.rb4
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