target/shfmt

This commit is contained in:
Marc Beninca 2024-12-02 00:39:16 +01:00
parent f3851dbc88
commit 0dfe86a970
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,4 @@
rwx_shfmt() {
local root="${1}"
shfmt --diff "${root}"
local path="${1}"
shfmt --diff "${path}"
}

View file

@ -76,5 +76,6 @@ $(cat "${RWX_ROOT_SYSTEM}/${file}")
done
rwx_ifs_unset
rwx_file_write "${target}" "${text}"
rwx_shfmt "${target}"
fi
}