Skip to content

Commit 86e5a37

Browse files
authored
Merge pull request #25 from fluent/fixing-link-to-download-sbt
Fix a link to download sbt
2 parents 0a5a4c7 + ba03bec commit 86e5a37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ declare -r script_name="${script_path##*/}"
133133
declare java_cmd="java"
134134
declare sbt_opts_file="$(init_default_option_file SBT_OPTS .sbtopts)"
135135
declare jvm_opts_file="$(init_default_option_file JVM_OPTS .jvmopts)"
136-
declare sbt_launch_repo="http://typesafe.artifactoryonline.com/typesafe/ivy-releases"
136+
declare sbt_launch_repo="http://repo.typesafe.com/typesafe/ivy-releases"
137137

138138
# pull -J and -D options to give to java.
139139
declare -a residual_args
@@ -199,7 +199,7 @@ download_url () {
199199

200200
mkdir -p "${jar%/*}" && {
201201
if which curl >/dev/null; then
202-
curl --fail --silent "$url" --output "$jar"
202+
curl --fail --silent --location "$url" --output "$jar"
203203
elif which wget >/dev/null; then
204204
wget --quiet -O "$jar" "$url"
205205
fi

0 commit comments

Comments
 (0)