From a00923830fcc3d2ee3145a231a71f1ea8ff52d3d Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Wed, 8 Jun 2016 11:52:56 -0700 Subject: [PATCH] powerman 2.3.24 Also, fix audit complaint about the array. Closes #1819. Signed-off-by: ilovezfs --- Formula/powerman.rb | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Formula/powerman.rb b/Formula/powerman.rb index c49c519510..709e9281fc 100644 --- a/Formula/powerman.rb +++ b/Formula/powerman.rb @@ -1,9 +1,8 @@ class Powerman < Formula desc "Control (remotely and in parallel) switched power distribution units" homepage "https://code.google.com/p/powerman/" - url "https://github.com/chaos/powerman/releases/download/2.3.20/powerman-2.3.20.tar.gz" - sha256 "a4b0858d1214aab18e2673596b00ac9bad976cb7b777209e10732467c3551b88" - revision 1 + url "https://github.com/chaos/powerman/releases/download/2.3.24/powerman-2.3.24.tar.gz" + sha256 "85d5d0e0aef05a1637a8efe58f436f1548d2411c98c90c1616d22ee79c19d275" bottle do revision 1 @@ -29,10 +28,10 @@ class Powerman < Formula depends_on "genders" => :optional def install - args = [ - "--disable-dependency-tracking", - "--prefix=#{prefix}", - "--localstatedir=#{var}" + args = %W[ + --disable-dependency-tracking + --prefix=#{prefix} + --localstatedir=#{var} ] args << (build.with?("curl") ? "--with-httppower" : "--without-httppower")