main/extension
All checks were successful
/ job (push) Successful in 2m57s

This commit is contained in:
Marc Beninca 2025-07-09 02:20:50 +02:00
parent 0593181f10
commit 99de96a393
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
4 changed files with 12 additions and 9 deletions

View file

@ -11,11 +11,11 @@ rwx_self_subset() {
local argument file root
for argument in "${@}"; do
root="${RWX_ROOT_SYSTEM}/${argument}"
file="${argument}.sh"
file="${argument}.${RWX_MAIN_EXTENSION}"
if [ -d "${root}" ]; then
local file
for file in $(rwx_main_find "${root}"); do
echo "${argument}/${file}.sh"
echo "${argument}/${file}.${RWX_MAIN_EXTENSION}"
done
elif [ -f "${RWX_ROOT_SYSTEM}/${file}" ]; then
echo "${file}"