File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/compiler/scala/tools/ant/templates Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -137,17 +137,17 @@ while [[ $# -gt 0 ]]; do
137
137
-D* )
138
138
# pass to scala as well: otherwise we lose it sometimes when we
139
139
# need it, e.g. communicating with a server compiler.
140
- java_args=( " ${java_args[@@]} " " $1 " )
141
- scala_args=( " ${scala_args[@@]} " " $1 " )
140
+ java_args+=( " $1 " )
141
+ scala_args+=( " $1 " )
142
142
# respect user-supplied -Dscala.usejavacp
143
143
case " $1 " in -Dscala.usejavacp* ) OVERRIDE_USEJAVACP=" " ;; esac
144
144
shift
145
145
;;
146
146
-J* )
147
147
# as with -D, pass to scala even though it will almost
148
148
# never be used.
149
- java_args=( " ${java_args[@@]} " " ${1: 2} " )
150
- scala_args=( " ${scala_args[@@]} " " $1 " )
149
+ java_args+=( " ${1: 2} " )
150
+ scala_args+=( " $1 " )
151
151
shift
152
152
;;
153
153
-toolcp)
@@ -167,7 +167,7 @@ while [[ $# -gt 0 ]]; do
167
167
shift
168
168
;;
169
169
* )
170
- scala_args=( " ${scala_args[@@]} " " $1 " )
170
+ scala_args+=( " $1 " )
171
171
shift
172
172
;;
173
173
esac
You can’t perform that action at this time.
0 commit comments