aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/maven.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/maven.rb')
-rw-r--r--Library/Formula/maven.rb9
1 files changed, 4 insertions, 5 deletions
diff --git a/Library/Formula/maven.rb b/Library/Formula/maven.rb
index 7c80b57fb..fca3d5388 100644
--- a/Library/Formula/maven.rb
+++ b/Library/Formula/maven.rb
@@ -1,13 +1,12 @@
require 'formula'
class Maven <Formula
- @url='http://www.apache.org/dist/maven/binaries/apache-maven-2.2.1-bin.tar.gz'
- @version="2.2.1"
- @homepage='http://maven.apache.org/'
- @md5='3f829ed854cbacdaca8f809e4954c916'
+ url 'http://www.apache.org/dist/maven/binaries/apache-maven-2.2.1-bin.tar.gz'
+ homepage 'http://maven.apache.org/'
+ md5 '3f829ed854cbacdaca8f809e4954c916'
def install
+ rm_f Dir["bin/*.bat"]
prefix.install %w[bin conf boot lib]
- FileUtils.rm_f Dir["#{bin}/*.bat"]
end
end