source/root,main

This commit is contained in:
Marc Beninca 2025-07-09 05:14:21 +02:00
parent 032568b822
commit 63c48f7de9
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -84,7 +84,7 @@ rwx_main_source() {
return 1 return 1
local module modules local module modules
# cache main # cache main
[ -n "${main}" ] && rwx_main_cache "${RWX_ROOT_SYSTEM}" "${RWX_MAIN_NAME}" [ -n "${main}" ] && rwx_main_cache "${root}" "${main}"
modules="$(rwx_main_find "${root}")" modules="$(rwx_main_find "${root}")"
while IFS= read -r module; do while IFS= read -r module; do
if [ "${module}" != "${RWX_MAIN_NAME}" ]; then if [ "${module}" != "${RWX_MAIN_NAME}" ]; then