From d16817a64949cafdf0ec22a4d240b15b34bb49eb Mon Sep 17 00:00:00 2001 From: Samuel Tyler Date: Thu, 25 Sep 2025 20:47:24 +1000 Subject: [PATCH] shellcheck fix --- steps/helpers.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/steps/helpers.sh b/steps/helpers.sh index 2aa68da6..f3ddc735 100755 --- a/steps/helpers.sh +++ b/steps/helpers.sh @@ -457,7 +457,8 @@ _do_strip() { # shellcheck disable=SC2124 local f="${@: -1}" if ! [ -w "${f}" ]; then - local perms="$(stat -c %a "${f}")" + local perms + perms="$(stat -c %a "${f}")" chmod u+w "${f}" fi strip "$@"