aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sbt/global-sbtopts.patch
blob: c3ad414a80cb67628a9bf18f44f4b7a07d50a3b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -urp sbt-launcher-packaging-0.13.13/bin/sbt patched/bin/sbt
--- sbt-launcher-packaging-0.13.13/bin/sbt	2016-10-28 18:46:00.000000000 +0100
+++ patched/bin/sbt	2017-02-17 11:11:51.000000000 +0000
@@ -62,7 +62,7 @@ cygwinpath() {
 
 declare -r noshare_opts="-Dsbt.global.base=project/.sbtboot -Dsbt.boot.directory=project/.boot -Dsbt.ivy.home=project/.ivy"
 declare -r sbt_opts_file=".sbtopts"
-declare -r etc_sbt_opts_file="${sbt_home}/conf/sbtopts"
+declare -r etc_sbt_opts_file="/etc/sbt/sbtopts"
 declare -r win_sbt_opts_file="${sbt_home}/conf/sbtconfig.txt"
 
 usage() {