Skip to content

Commit 7e38d27

Browse files
committed
Fix compile server version check
1 parent 6693de6 commit 7e38d27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ runs:
249249
read -r -a make_args <<< "${make_command}"
250250
251251
# Choose Ubuntu or a Docker container to compile the kernel.
252-
if [[ "${arch_info}" == "aarch64" && -n "${docker_compile}" ]]; then
252+
if [[ "$(uname -m)" == "aarch64" && -n "${docker_compile}" ]]; then
253253
echo -e "The docker container [ ${docker_container} ] is running, using the Armbian system to compile the kernel."
254254
docker exec -i "${docker_container}" bash -c 'bash "$0" -u && bash "$0" "$@"' "${docker_script}" "${make_args[@]}"
255255
else

0 commit comments

Comments
 (0)