diff --git a/Formula/mobile-shell.rb b/Formula/mobile-shell.rb index a7c1581256ce0..3e98fcc50b196 100644 --- a/Formula/mobile-shell.rb +++ b/Formula/mobile-shell.rb @@ -3,6 +3,7 @@ class MobileShell < Formula homepage "https://mosh.org" url "https://mosh.org/mosh-1.3.0.tar.gz" sha256 "320e12f461e55d71566597976bd9440ba6c5265fa68fbf614c6f1c8401f93376" + revision 1 bottle do sha256 "6ab4f7e7cf8e149f10931471658063356b485b0ca34037f44c93afaae34c1c0f" => :sierra @@ -27,6 +28,13 @@ class MobileShell < Formula depends_on "tmux" => :build if build.with?("test") || build.bottle? def install + # Remove for > 1.3.0 + # Upstream commit from 29 Apr 2017 "Disable unicode-later-combining.test for now" + # See https://github.com/mobile-shell/mosh/commit/df4dbe0d6c9c3ac7a6a102f315090c9b7aa75ad6 + if build.stable? + inreplace "src/tests/Makefile.in", /^\tunicode-later-combining.test \\$\n/, "" + end + # teach mosh to locate mosh-client without referring # PATH to support launching outside shell e.g. via launcher inreplace "scripts/mosh.pl", "'mosh-client", "\'#{bin}/mosh-client"