mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-02 01:18:08 +01:00
shellcheck fix
This commit is contained in:
parent
b4d9a6827c
commit
d16817a649
1 changed files with 2 additions and 1 deletions
|
|
@ -457,7 +457,8 @@ _do_strip() {
|
||||||
# shellcheck disable=SC2124
|
# shellcheck disable=SC2124
|
||||||
local f="${@: -1}"
|
local f="${@: -1}"
|
||||||
if ! [ -w "${f}" ]; then
|
if ! [ -w "${f}" ]; then
|
||||||
local perms="$(stat -c %a "${f}")"
|
local perms
|
||||||
|
perms="$(stat -c %a "${f}")"
|
||||||
chmod u+w "${f}"
|
chmod u+w "${f}"
|
||||||
fi
|
fi
|
||||||
strip "$@"
|
strip "$@"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue