aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDouglas Campos2010-11-13 13:38:26 -0200
committerAdam Vandenberg2010-11-13 11:30:57 -0800
commit7dbf1c1027635d4b3630cbe29c5876724f26f0cb (patch)
tree6716a9ad54386c59c756b9f6022aa5aaa275bdd8
parent702493f47df181c15739a9ef6652c4a405b22f31 (diff)
downloadhomebrew-7dbf1c1027635d4b3630cbe29c5876724f26f0cb.tar.bz2
fix iam tools cmds
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/aws-iam-tools.rb12
1 files changed, 5 insertions, 7 deletions
diff --git a/Library/Formula/aws-iam-tools.rb b/Library/Formula/aws-iam-tools.rb
index 1f2fa4f88..82663781a 100644
--- a/Library/Formula/aws-iam-tools.rb
+++ b/Library/Formula/aws-iam-tools.rb
@@ -1,18 +1,16 @@
require 'formula'
-class AwsIamTools < Formula
+# Require ec2-api-tools to get the base class
+require "#{File.dirname __FILE__}/ec2-api-tools.rb"
+
+class AwsIamTools < AmazonWebServicesFormula
# No stable build yet
head 'http://awsiammedia.s3.amazonaws.com/public/tools/cli/latest/IAMCli.zip'
homepage 'http://developer.amazonwebservices.com/connect/entry.jspa?externalID=4143&categoryID=322'
md5 'ee3d6d5ec0be8a68044973289211f14c'
def install
- # Remove Windows files
- rm Dir['*.cmd']
-
- bin.install Dir['iam-*']
- # Follow same pratices as AmazonWebServicesFormula
- (prefix+'jars').install 'lib'
+ standard_install
end
def caveats