lint/files

This commit is contained in:
Marc Beninca 2025-07-06 16:03:46 +02:00
parent 4b55ac1155
commit de0dd93a71
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -222,10 +222,10 @@ rwx_self_write() {
local target="${1}" local target="${1}"
if [ -n "${target}" ]; then if [ -n "${target}" ]; then
shift shift
local file text local file files text
text="#! /usr/bin/env sh text="#! /usr/bin/env sh
" "
local files="$(rwx_self_subset "${@}")" files="$(rwx_self_subset "${@}")"
while IFS= read -r file; do while IFS= read -r file; do
text="${text} text="${text}
$(cat "${RWX_ROOT_SYSTEM}/${file}") $(cat "${RWX_ROOT_SYSTEM}/${file}")