aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-02-12 21:13:28 -0800
committerAdam Vandenberg2012-02-12 21:41:06 -0800
commit7679281017e00c3e290d3db70a697c5de5114419 (patch)
treee2e30262d46d4f10f1d87a6b841ac49879adfc8d /Library
parent546aeab45bef8565b3ef7cdf05745969af47bf45 (diff)
downloadhomebrew-7679281017e00c3e290d3db70a697c5de5114419.tar.bz2
apgdiff: style update
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/apgdiff.rb14
1 files changed, 5 insertions, 9 deletions
diff --git a/Library/Formula/apgdiff.rb b/Library/Formula/apgdiff.rb
index 6191924ba..4ef7bc2f1 100644
--- a/Library/Formula/apgdiff.rb
+++ b/Library/Formula/apgdiff.rb
@@ -1,19 +1,15 @@
require 'formula'
class Apgdiff < Formula
- url 'http://downloads.sourceforge.net/project/apgdiff/apgdiff/apgdiff-1.4/apgdiff-1.4-bin.zip'
homepage 'http://apgdiff.sourceforge.net/'
+ url 'http://downloads.sourceforge.net/project/apgdiff/apgdiff/apgdiff-1.4/apgdiff-1.4-bin.zip'
md5 '6ef287d02b4429d2111140f7fb2d8c29'
- def startup_script
-<<-EOS
-#!/bin/bash
-java -jar "#{libexec}/apgdiff-1.4.jar" "$@"
-EOS
- end
-
def install
libexec.install "apgdiff-1.4.jar"
- (bin+'apgdiff').write startup_script
+ (bin+'apgdiff').write <<-EOS.undent
+ #!/bin/bash
+ java -jar "#{libexec}/apgdiff-1.4.jar" "$@"
+ EOS
end
end