mirror of https://github.com/sbt/sbt.git
Remove unused variable script_dir
This variable used to be set based on either $HOME or $script_path. However, $script_path is no longer set, so when $HOME is unset there will be an 'dirname: missing operand' error message. $script_dir is no longer used either, so we can safely remove it entirely.
This commit is contained in:
parent
9c296f96fb
commit
bb21b9ce09
|
|
@ -6,12 +6,6 @@
|
||||||
|
|
||||||
# TODO - Should we merge the main SBT script with this library?
|
# TODO - Should we merge the main SBT script with this library?
|
||||||
|
|
||||||
if test -z "$HOME"; then
|
|
||||||
declare -r script_dir="$(dirname $script_path)"
|
|
||||||
else
|
|
||||||
declare -r script_dir="$HOME/.sbt"
|
|
||||||
fi
|
|
||||||
|
|
||||||
declare -a residual_args
|
declare -a residual_args
|
||||||
declare -a java_args
|
declare -a java_args
|
||||||
declare -a scalac_args
|
declare -a scalac_args
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue