Merge branch 'master' into next

This commit is contained in:
Michael Tremer
2022-03-30 13:51:38 +00:00
5 changed files with 22 additions and 3 deletions

View File

@@ -19,6 +19,8 @@
# #
###############################################################################
shopt -s nullglob
NOW="$(date "+%Y-%m-%d-%H:%M")"
list_addons() {
@@ -34,12 +36,14 @@ list_addons() {
process_includes() {
local include
for include in $@; do
# Skip any empty line (which will include /)
[ -n "${include}" ] || continue
local file
while read -r file; do
for file in ${file}; do
if [ -e "/${file}" ]; then
for file in /${file}; do
if [ -e "${file}" ]; then
echo "${file}"
fi
done