Skip to content

Commit

Permalink
mobile-shell: revision for protobuf
Browse files Browse the repository at this point in the history
  • Loading branch information
ilovezfs committed Apr 29, 2017
1 parent 0bbeb05 commit e060fab
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Formula/mobile-shell.rb
Expand Up @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit e060fab

Please sign in to comment.