Skip to content

Commit d690658

Browse files
author
github-action
committed
new update of dtcw
1 parent 2e887d1 commit d690658

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

dtcw

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ main() {
121121
emu=""
122122
if [ "${os}" = "Darwin" ] && [ "${arch}" = "arm64" ]; then
123123
echo "Apple silicon detected, using x86_64 mode and os native bash"
124-
emu="arch -x86_64"
124+
emu="/usr/bin/arch -x86_64"
125125
bash="/bin/bash"
126126
fi
127127

@@ -541,7 +541,9 @@ local_install_java() {
541541
fi
542542
case "${os}" in
543543
Linux) os=linux ;;
544-
Darwin) os=mac ;;
544+
Darwin) os=mac
545+
# Enforce usage of Intel Java as long as jbake does not work on Apple Silicon
546+
arch=x64 ;;
545547
Cygwin) os=linux ;;
546548
esac
547549
mkdir -p "${DTC_JAVA_HOME}"

0 commit comments

Comments
 (0)