rds-command-line-tools: depend on openjdk
parent
c824fcf79d
commit
cf496984f6
|
@ -3,13 +3,14 @@ class RdsCommandLineTools < Formula
|
|||
homepage "https://aws.amazon.com/developertools/2928"
|
||||
url "https://rds-downloads.s3.amazonaws.com/RDSCli-1.19.004.zip"
|
||||
sha256 "298c15ccd04bd91f1be457645d233455364992e7dd27e09c48230fbc20b5950c"
|
||||
revision 1
|
||||
|
||||
bottle :unneeded
|
||||
|
||||
depends_on :java
|
||||
depends_on "openjdk"
|
||||
|
||||
def install
|
||||
env = Language::Java.java_home_env.merge(:AWS_RDS_HOME => libexec)
|
||||
env = { :JAVA_HOME => Formula["openjdk"].opt_prefix, :AWS_RDS_HOME => libexec }
|
||||
rm Dir["bin/*.cmd"] # Remove Windows versions
|
||||
etc.install "credential-file-path.template"
|
||||
libexec.install Dir["*"]
|
||||
|
|
Loading…
Reference in New Issue