Skip to content

Commit

Permalink
mobile-shell 1.3.2
Browse files Browse the repository at this point in the history
Closes #15942.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
  • Loading branch information
DomT4 authored and ilovezfs committed Jul 23, 2017
1 parent 1e16de8 commit 3b31468
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions Formula/mobile-shell.rb
Original file line number Original file line Diff line number Diff line change
@@ -1,9 +1,8 @@
class MobileShell < Formula class MobileShell < Formula
desc "Remote terminal application" desc "Remote terminal application"
homepage "https://mosh.org" homepage "https://mosh.org"
url "https://mosh.org/mosh-1.3.0.tar.gz" url "https://mosh.org/mosh-1.3.2.tar.gz"
sha256 "320e12f461e55d71566597976bd9440ba6c5265fa68fbf614c6f1c8401f93376" sha256 "da600573dfa827d88ce114e0fed30210689381bbdcff543c931e4d6a2e851216"
revision 1


bottle do bottle do
sha256 "092d47a9a6836e66597775dadca0bc78c57b04879cf6c392f7514605d8c53a50" => :sierra sha256 "092d47a9a6836e66597775dadca0bc78c57b04879cf6c392f7514605d8c53a50" => :sierra
Expand All @@ -24,17 +23,9 @@ class MobileShell < Formula


depends_on "pkg-config" => :build depends_on "pkg-config" => :build
depends_on "protobuf" depends_on "protobuf"
depends_on :perl => "5.14" if MacOS.version <= :mountain_lion
depends_on "tmux" => :build if build.with?("test") || build.bottle? depends_on "tmux" => :build if build.with?("test") || build.bottle?


def install 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 # teach mosh to locate mosh-client without referring
# PATH to support launching outside shell e.g. via launcher # PATH to support launching outside shell e.g. via launcher
inreplace "scripts/mosh.pl", "'mosh-client", "\'#{bin}/mosh-client" inreplace "scripts/mosh.pl", "'mosh-client", "\'#{bin}/mosh-client"
Expand Down

0 comments on commit 3b31468

Please sign in to comment.