From ad9b20bdf2e0e4c78a5e3d07e6b6b7bff5bbcfb9 Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Mon, 26 Sep 2016 12:03:08 -0400 Subject: [PATCH] launch 1.2.3 Closes #5258. Signed-off-by: Zhiming Wang --- Formula/launch.rb | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/Formula/launch.rb b/Formula/launch.rb index 550bea5ebb..8eeb5783a5 100644 --- a/Formula/launch.rb +++ b/Formula/launch.rb @@ -1,26 +1,10 @@ class Launch < Formula desc "Command-line launcher for OS X, in the spirit of `open`" - homepage "https://sabi.net/nriley/software/" - + homepage "https://sabi.net/nriley/software/#launch" + url "https://sabi.net/nriley/software/launch-1.2.3.tar.gz" + sha256 "b4bedaa61f7138f9167e7313e077ffbfc0716a60d4937f94aaedf3f46406bc38" head "https://github.com/nriley/launch.git" - stable do - url "https://sabi.net/nriley/software/launch-1.2.2.tar.gz" - sha256 "94509ce5b55a768f3f8da9996193ae01baf78f239a4d0fca637735f2684eed87" - - # Upstream commits to fix the build on 10.10+ - # Remove both patches when upgrading to 1.2.3 - patch do - url "https://github.com/nriley/launch/commit/622fa2db6f185b4d635e22e90fda6b9741033047.diff" - sha256 "ab8ede8c11ff9af389728439ca8ac2197d8de66c712c4f51f7ef794de73f0498" - end - - patch do - url "https://github.com/nriley/launch/commit/d3207d853e04bf312cc47d15f35e8a61633deab4.diff" - sha256 "24eabf62956d49a4259068a2316b3a03e17598a2137ff3f200f9076cec92f415" - end - end - bottle do cellar :any_skip_relocation revision 2 @@ -41,6 +25,6 @@ class Launch < Formula end test do - system "#{bin}/launch", "-n", "/" + assert_equal "/", shell_output("#{bin}/launch -n /").chomp end end