Skip to content
Snippets Groups Projects
Commit daf8cacc authored by Max Howell's avatar Max Howell
Browse files

Auctex needs user path; Fixes Homebrew/homebrew#14699

parent d40bbe5a
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment