aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2014-12-27 15:59:49 +0000
committerMike McQuaid2014-12-27 16:31:44 +0000
commit9e3ba1cc0e4c956fbc8b3f26c1e8d76612a30fb5 (patch)
treeb17e2232889af23340f184efbe47ee2d062a9eb7 /Library/Formula
parentd6a160d5b31d97bec2917e587fc0dd44a3f6761d (diff)
downloadhomebrew-9e3ba1cc0e4c956fbc8b3f26c1e8d76612a30fb5.tar.bz2
checkbashisms: fix strict audit failures.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/checkbashisms.rb14
1 files changed, 6 insertions, 8 deletions
diff --git a/Library/Formula/checkbashisms.rb b/Library/Formula/checkbashisms.rb
index 166f24669..18bad27e7 100644
--- a/Library/Formula/checkbashisms.rb
+++ b/Library/Formula/checkbashisms.rb
@@ -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