aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/ec2-api-tools.rb28
1 files changed, 0 insertions, 28 deletions
diff --git a/Library/Formula/ec2-api-tools.rb b/Library/Formula/ec2-api-tools.rb
index 4a1cad658..c05b3a410 100644
--- a/Library/Formula/ec2-api-tools.rb
+++ b/Library/Formula/ec2-api-tools.rb
@@ -44,13 +44,6 @@ class Ec2ApiTools <AmazonWebServicesFormula
url 'http://ec2-downloads.s3.amazonaws.com/ec2-api-tools-1.3-53907.zip'
md5 'ae07fe9e46423d57ab43a121750f0067'
- def patches
- # Gets rid of the "[Deprecated] Xalan: org.apache.xml.res.XMLErrorResources_en_US"
- # messages that the tools spew on 1.3-41620 under Snow Leopard
- # See: http://gist.github.com/200283
- DATA
- end
-
def install
standard_install
end
@@ -59,24 +52,3 @@ class Ec2ApiTools <AmazonWebServicesFormula
standard_instructions "EC2_HOME"
end
end
-
-__END__
-diff --git i/bin/ec2-cmd w/bin/ec2-cmd
-index 57051eb..edc2aae 100755
---- i/bin/ec2-cmd
-+++ w/bin/ec2-cmd
-@@ -58,4 +58,13 @@ fi
-
- CMD=$1
- shift
--"$JAVA_HOME/bin/java" $EC2_JVM_ARGS $cygprop -classpath "$CP" com.amazon.aes.webservices.client.cmd.$CMD "$@"
-+
-+# to filter out the "deprecated" warnings introduced by Snow Leopard...
-+exec 3>&1 # ... redirect fd3 to stdout
-+exec 4>&2 # ... redirect fd4 to stderr
-+
-+# ... execute the java, sending stderr to stdout (so it gets grepped),
-+# but stdout goes to fd3 (the preserved real stdout)
-+# and the grepped output goes to fd4 (the preserved stderr)
-+"$JAVA_HOME/bin/java" $EC2_JVM_ARGS $cygprop -classpath "$CP" com.amazon.aes.webservices.client.cmd.$CMD "$@" \
-+ 2>&1 >&3 | grep -v '^\[Deprecated\] Xalan' >&4