aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sbt/global-sbtopts.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/sbt/global-sbtopts.patch')
-rw-r--r--testing/sbt/global-sbtopts.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/sbt/global-sbtopts.patch b/testing/sbt/global-sbtopts.patch
new file mode 100644
index 0000000000..c3ad414a80
--- /dev/null
+++ b/testing/sbt/global-sbtopts.patch
@@ -0,0 +1,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() {