From b1c805f16269a855da027a71cf5d2b3910019a11 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Wed, 13 Dec 2023 23:31:59 +0100 Subject: [PATCH] alpine: gitea-act_runner --- alpine/apps/gitea-act_runner/gitea-act_runner.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/alpine/apps/gitea-act_runner/gitea-act_runner.sh b/alpine/apps/gitea-act_runner/gitea-act_runner.sh index 557a45b..c0e046f 100644 --- a/alpine/apps/gitea-act_runner/gitea-act_runner.sh +++ b/alpine/apps/gitea-act_runner/gitea-act_runner.sh @@ -45,7 +45,8 @@ SelectImages() { "archlinux-base-devel") IMAGES=${IMAGES}'"archlinux-base-devel:docker://archlinux:base-devel",';; esac done - IMAGES=$(printf '%s' "${IMAGES}" | cut -c 1) + # shellcheck disable=SC3057 + IMAGES=${IMAGES::-1} fi } SelectImages