From b00ce350d404f404fc14f1c8f9e742283668090b Mon Sep 17 00:00:00 2001 From: Martinski4GitHub <119833648+Martinski4GitHub@users.noreply.github.com> Date: Sat, 14 Feb 2026 02:25:57 -0800 Subject: [PATCH] Bug Fix Fixed bug in function that searches for the full paths of all filtered log files. --- README.md | 4 ++-- scribe.sh | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index f1ca255..793cc7c 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ **scribe** is a **syslog-ng** and **logrotate** installer for ASUS routers running **Asuswrt-Merlin** -## v3.2.9 -### Updated on 2026-Feb-07 +## v3.2.10 +### Updated on 2026-Feb-14 ## Getting Started diff --git a/scribe.sh b/scribe.sh index b15d6a2..75d4849 100644 --- a/scribe.sh +++ b/scribe.sh @@ -18,7 +18,7 @@ # curl --retry 3 "https://raw.githubusercontent.com/AMTM-OSR/scribe/master/scribe.h" -o "/jffs/scripts/scribe" && chmod 0755 /jffs/scripts/scribe && /jffs/scripts/scribe install # ################################################################## -# Last Modified: 2026-Feb-07 +# Last Modified: 2026-Feb-14 #----------------------------------------------------------------- ################ Shellcheck directives ################ @@ -34,8 +34,8 @@ ################################################################# readonly script_name="scribe" -readonly scribe_ver="v3.2.9" -readonly scriptVer_TAG="26020700" +readonly scribe_ver="v3.2.10" +readonly scriptVer_TAG="26021400" scribe_branch="develop" script_branch="$scribe_branch" @@ -1397,13 +1397,13 @@ _Generate_ListOf_Filtered_LogFiles_() then while read -r theLINE && [ -n "$theLINE" ] do - logFilePath="$(echo "$theLINE" | sed -e 's/^[ ]*file("//;s/".*$//')" + logFilePath="$(echo "$theLINE" | sed -e 's/.*[{ ]\?file("//;s/".*$//')" if grep -qE "^${logFilePath}$" "$tmpFilterList" then continue #Avoid duplicates# fi echo "$logFilePath" >> "$tmpFilterList" done <