Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
emacs_requirement: set $EMACS
Browse files Browse the repository at this point in the history
The Emacs shell sets $EMACS to "t" for detection purposes, but it causes
builds to fail when they attempt to call Emacs using the variable.

Fixes brew-stuff/homebrew-emacs#30.

Closes #45495.

Signed-off-by: Alex Dunn <[email protected]>
  • Loading branch information
dunn committed Oct 31, 2015
1 parent 5be8732 commit 5ddbedc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Library/Homebrew/requirements/emacs_requirement.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def initialize(tags)

env do
ENV.prepend_path "PATH", which("emacs").dirname
ENV["EMACS"] = "emacs"
end

def message
Expand Down

0 comments on commit 5ddbedc

Please sign in to comment.