Skip to content

Commit b3cc4bc

Browse files
committed
shellcheck fix
1 parent 246c2dd commit b3cc4bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

steps/helpers.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,8 @@ _do_strip() {
452452
# shellcheck disable=SC2124
453453
local f="${@: -1}"
454454
if ! [ -w "${f}" ]; then
455-
local perms="$(stat -c %a "${f}")"
455+
local perms
456+
perms="$(stat -c %a "${f}")"
456457
chmod u+w "${f}"
457458
fi
458459
strip "$@"

0 commit comments

Comments
 (0)