mirror of
https://github.com/armbian/build.git
synced 2025-09-15 18:51:27 +02:00
shellcheck: skip running shellcheck, with a warning, if running on riscv64
- someone go add riscv64 to https://github.com/koalaman/shellcheck
This commit is contained in:
parent
cd0820a0d5
commit
fd7003125e
@ -87,6 +87,11 @@ function run_tool_shellcheck() {
|
|||||||
case "$MACHINE" in
|
case "$MACHINE" in
|
||||||
*aarch64*) SHELLCHECK_ARCH="aarch64" ;;
|
*aarch64*) SHELLCHECK_ARCH="aarch64" ;;
|
||||||
*x86_64*) SHELLCHECK_ARCH="x86_64" ;;
|
*x86_64*) SHELLCHECK_ARCH="x86_64" ;;
|
||||||
|
*riscv64*)
|
||||||
|
# check https://github.com/koalaman/shellcheck in the future, build might be possible
|
||||||
|
display_alert "No RISC-V riscv64 support for SHELLCHECK" "SHELLCHECK will not run" "wrn"
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
exit_with_error "unknown arch: $MACHINE"
|
exit_with_error "unknown arch: $MACHINE"
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user