diff options
| author | Dave Cottlehuber | 2014-05-26 10:19:24 +0200 | 
|---|---|---|
| committer | Adam Vandenberg | 2014-05-26 08:58:07 -0700 | 
| commit | af56d17eab1f75ac38f216aa1ffa36ede8783eac (patch) | |
| tree | 636bc6fb14312ac94c58f9fed0e645aa7ca3d394 /Library/Formula/mobile-shell.rb | |
| parent | 2060ee84b20a43fd18a132a0bce5406db64b5255 (diff) | |
| download | homebrew-af56d17eab1f75ac38f216aa1ffa36ede8783eac.tar.bz2 | |
mobile-shell: teach mosh where the Cellar is for non-terminal use
Closes #29583.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/mobile-shell.rb')
| -rw-r--r-- | Library/Formula/mobile-shell.rb | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/mobile-shell.rb b/Library/Formula/mobile-shell.rb index 04a076f43..7f957afea 100644 --- a/Library/Formula/mobile-shell.rb +++ b/Library/Formula/mobile-shell.rb @@ -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  | 
