mxcl/homebrew — pull request #25049 by karlvr (2013-12-08 05:49:17+00:00)
Title: The ec2-cmd doesn't need its reference to /lib changed to /libexec/lib a...

...s the recommended EC2_HOME setting is the libexec directory.

Therefore with the existing formula, the ec2 commands would not work (Error: Could not find or load main class com.amazon.aes.webservices.client.cmd.DescribeInstances) as the ec2-cmd script was creating an incorrect lib dir path, when using the default EC2_HOME as specified by the standard_instructions in AmazonWebServicesFormula.

Alternatively, the EC2_HOME could be set without libexec on the end. This would require changing AmazonWebServiceFormula and checking other dependent formulas.