mobile-shell: teach mosh where the Cellar is for non-terminal use
Closes Homebrew/homebrew#29583. Signed-off-by: Adam Vandenberg <flangy@gmail.com>master
parent
2b5e30c3ea
commit
779d8c9125
|
@ -18,6 +18,10 @@ class MobileShell < Formula
|
|||
def install
|
||||
system "./autogen.sh" if build.head?
|
||||
|
||||
# teach mosh to locate mosh-client without referring
|
||||
# PATH to support launching outside shell e.g. via launcher
|
||||
inreplace "scripts/mosh", "'mosh-client", "\'#{bin}/mosh-client"
|
||||
|
||||
# Upstream prefers O2:
|
||||
# https://github.com/keithw/mosh/blob/master/README.md
|
||||
ENV.O2
|
||||
|
|
Loading…
Reference in New Issue