Closes #23917.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
Eugene Yokota 2018-02-09 17:35:25 -05:00 committed by FX Coudert
parent b89ff653aa
commit c4b2e70677

View file

@ -1,9 +1,8 @@
class SbtAT013 < Formula
desc "Build tool for Scala projects"
homepage "https://www.scala-sbt.org/"
url "https://dl.bintray.com/homebrew/mirror/sbt-0.13.16"
mirror "https://cocl.us/sbt01316tgz"
sha256 "22729580a581e966259267eda4d937a2aecad86848f8a82fcc716dcae8dc760c"
url "https://github.com/sbt/sbt/releases/download/v0.13.17/sbt-0.13.17.tgz"
sha256 "25f782ccb2ad6d54e13ce6cec0afa3d2328874c508d68ee34e2f742e99f2c847"
bottle :unneeded
@ -13,7 +12,7 @@ class SbtAT013 < Formula
def install
inreplace "bin/sbt" do |s|
s.gsub! 'etc_sbt_opts_file="${sbt_home}/conf/sbtopts"', "etc_sbt_opts_file=\"#{etc}/sbtopts\""
s.gsub! 'etc_sbt_opts_file="/etc/sbt/sbtopts"', "etc_sbt_opts_file=\"#{etc}/sbtopts\""
s.gsub! "/etc/sbt/sbtopts", "#{etc}/sbtopts"
end