* fixed a problem/regression with the display of results in f_search and f_report
Signed-off-by: Dirk Brenken <redacted>
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>
[ "${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
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
;;