File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,11 @@ coursier_version="2.1.0-M2"
148
148
149
149
# https://stackoverflow.com/questions/3466166/how-to-check-if-running-in-cygwin-mac-or-linux/17072017#17072017
150
150
if [ " $( expr substr $( uname -s) 1 5 2> /dev/null) " == " Linux" ]; then
151
- cs_url=" https://github.com/coursier/coursier/releases/download/v$coursier_version /cs-x86_64-pc-linux.gz"
151
+ if [ " $( uname -m) " == " aarch64" ]; then
152
+ cs_url=" https://github.com/coursier/coursier/releases/download/v$coursier_version /cs-aarch64-pc-linux.gz"
153
+ else
154
+ cs_url=" https://github.com/coursier/coursier/releases/download/v$coursier_version /cs-x86_64-pc-linux.gz"
155
+ fi
152
156
cache_base=" $HOME /.cache/coursier/v1"
153
157
elif [ " $( uname) " == " Darwin" ]; then
154
158
cs_url=" https://github.com/coursier/coursier/releases/download/v$coursier_version /cs-x86_64-apple-darwin.gz"
@@ -186,7 +190,7 @@ elif [[ "$cache_dest" == *.zip ]]; then
186
190
fi
187
191
fi
188
192
189
- eval " $( cs java --env --jvm temurin:17 || cs java --env --jvm openjdk:1.17.0) "
193
+ eval " $( " $cs " java --env --jvm temurin:17 || " $cs " java --env --jvm openjdk:1.17.0) "
190
194
191
195
192
196
init_mill_jvm_opts
You can’t perform that action at this time.
0 commit comments