Skip to content

Commit e5302a8

Browse files
committed
Make sbt executable and change sbt_home to current dir for local script
1 parent 454b549 commit e5302a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sbt

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ cygwinpath() {
8080

8181

8282
declare -r sbt_bin_dir="$(dirname "$(realpathish "$0")")"
83-
declare -r sbt_home="$(dirname "$sbt_bin_dir")"
83+
declare -r sbt_home="."
8484

8585
echoerr () {
8686
echo 1>&2 "$@"
@@ -93,7 +93,7 @@ dlog () {
9393
}
9494

9595
jar_file () {
96-
echo "$(cygwinpath "${sbt_home}/bin/sbt-launch.jar")"
96+
echo "$(cygwinpath "${sbt_home}/sbt-launch.jar")"
9797
}
9898

9999
acquire_sbt_jar () {

0 commit comments

Comments
 (0)