adblock: update 4.5.4-3

* fixed a problem/regression with the display of results in f_search and f_report

Signed-off-by: Dirk Brenken <dev@brenken.org>
This commit is contained in:
Dirk Brenken
2026-04-11 10:48:53 +02:00
parent 164d5a0cf7
commit 0255308cbe
2 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=adblock
PKG_VERSION:=4.5.4
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_LICENSE:=GPL-3.0-or-later
PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>

View File

@@ -1468,7 +1468,7 @@ f_search() {
[ "${res}" != "true" ] && printf '%s\n\n' " - no match" >>"${tmp_result}"
fi
"${adb_mvcmd}" -f "${tmp_result}" "${result}"
printf '%s\n' "$(< "${result}")"
"${adb_catcmd}" "${result}" 2>>"${adb_errorlog}"
}
# update runtime information
@@ -2213,7 +2213,7 @@ f_report() {
jsn="$("${adb_catcmd}" ${report_jsn} ${map_jsn} 2>>"${adb_errorlog}")"
[ -n "${jsn}" ] && printf '[%s]]\n' "${jsn}"
else
jsn="$(< "${report_jsn}")" 2>>"${adb_errorlog}"
jsn="$("${adb_catcmd}" "${report_jsn}" 2>>"${adb_errorlog}")"
[ -n "${jsn}" ] && printf '[%s]\n' "${jsn}"
fi
;;