From 8cee7b90da3bcc65626a9be1bec1aedcade21459 Mon Sep 17 00:00:00 2001 From: Tomasz Pajor Date: Sat, 20 Feb 2016 23:01:46 +0100 Subject: [PATCH] platypus: audit fixes --- Formula/platypus.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Formula/platypus.rb b/Formula/platypus.rb index 34fcabb9f0..620593969c 100644 --- a/Formula/platypus.rb +++ b/Formula/platypus.rb @@ -29,18 +29,18 @@ class Platypus < Formula bin.install "platypus_clt" => "platypus" cd "build/UninstalledProducts/macosx/ScriptExec.app/Contents" do - (share/"platypus").install "Resources/MainMenu.nib", "MacOS/ScriptExec" + pkgshare.install "Resources/MainMenu.nib", "MacOS/ScriptExec" end end - test do - system "#{bin}/platypus", "-v" - end - def caveats <<-EOS.undent This formula only installs the command-line Platypus tool, not the GUI. If you want the GUI, download the app from the project's Web page directly. EOS end + + test do + system "#{bin}/platypus", "-v" + end end