checkbashisms: fix strict audit failures.

This commit is contained in:
Mike McQuaid 2014-12-27 15:59:49 +00:00
parent c09aa99137
commit 405528eca7

View file

@ -1,10 +1,8 @@
require 'formula'
class Checkbashisms < Formula
homepage 'http://manpages.ubuntu.com/manpages/natty/man1/checkbashisms.1.html'
homepage "http://manpages.ubuntu.com/manpages/natty/man1/checkbashisms.1.html"
# Get upgrades at https://launchpad.net/ubuntu/+source/devscripts/
url 'https://launchpad.net/ubuntu/+archive/primary/+files/devscripts_2.13.4.tar.xz'
sha1 '94e7225c2f9f9062cea35c8010e984ae98834c28'
url "https://launchpad.net/ubuntu/+archive/primary/+files/devscripts_2.13.4.tar.xz"
sha1 "94e7225c2f9f9062cea35c8010e984ae98834c28"
bottle do
cellar :any
@ -15,9 +13,9 @@ class Checkbashisms < Formula
end
def install
inreplace 'scripts/checkbashisms.pl', '###VERSION###', "#{version}ubuntu1"
bin.install 'scripts/checkbashisms.pl' => 'checkbashisms'
man1.install 'scripts/checkbashisms.1'
inreplace "scripts/checkbashisms.pl", "###VERSION###", "#{version}ubuntu1"
bin.install "scripts/checkbashisms.pl" => "checkbashisms"
man1.install "scripts/checkbashisms.1"
end
test do