find with extension

This commit is contained in:
Marc Beninca 2025-07-27 13:00:04 +02:00
parent 9e3c268b1c
commit 52593c9571
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
4 changed files with 5 additions and 7 deletions

View file

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