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
137137 -D* )
138138 # pass to scala as well: otherwise we lose it sometimes when we
139139 # 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 " )
142142 # respect user-supplied -Dscala.usejavacp
143143 case " $1 " in -Dscala.usejavacp* ) OVERRIDE_USEJAVACP=" " ;; esac
144144 shift
145145 ;;
146146 -J* )
147147 # as with -D, pass to scala even though it will almost
148148 # 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 " )
151151 shift
152152 ;;
153153 -toolcp)
@@ -167,7 +167,7 @@ while [[ $# -gt 0 ]]; do
167167 shift
168168 ;;
169169 * )
170- scala_args=( " ${scala_args[@@]} " " $1 " )
170+ scala_args+=( " $1 " )
171171 shift
172172 ;;
173173 esac
You can’t perform that action at this time.
0 commit comments