diff options
| author | Adam Vandenberg | 2010-07-13 07:45:03 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-07-13 07:49:36 -0700 |
| commit | 9ce7bc17f61230e5cf0e8990641f4af218fa0dfb (patch) | |
| tree | 30d696f7b3367d40c7d529dbbcab8c850f4ce446 /Library | |
| parent | de08b2a37014a438e36603e26ac469ea8ee6a2c3 (diff) | |
| download | homebrew-9ce7bc17f61230e5cf0e8990641f4af218fa0dfb.tar.bz2 | |
Link "emacs" binary into bin even for a Cocoa app.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/emacs.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/emacs.rb b/Library/Formula/emacs.rb index ea0ce9285..e9043f7db 100644 --- a/Library/Formula/emacs.rb +++ b/Library/Formula/emacs.rb @@ -60,7 +60,7 @@ class Emacs <Formula return s end - + def install configure_args = [ "--prefix=#{prefix}", @@ -74,6 +74,8 @@ class Emacs <Formula system "make bootstrap" system "make install" prefix.install "nextstep/Emacs.app" + bin.mkpath + ln_s prefix+"Emacs.app/Contents/MacOS/Emacs", bin+"emacs" else if ARGV.include? "--with-x" configure_args << "--with-x" |
