From 0e18551b2c530ae137b7bd7493ff4898d982535c Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Sat, 30 Jul 2016 13:48:22 +0200 Subject: [PATCH] Catting of changelog removed --- include/helper_show | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/helper_show b/include/helper_show index c6ca2dda..bc2b38b4 100644 --- a/include/helper_show +++ b/include/helper_show @@ -144,7 +144,7 @@ if [ $# -gt 0 ]; then if [ ! -z "${CHANGELOG}" ]; then SEARCH=$(egrep "^${PROGRAM_NAME} ${SEARCH_VERSION}" ${CHANGELOG}) if [ $? -eq 0 ]; then - cat ${CHANGELOG} | while read -r LINE; do + while read -r LINE; do if [ ${STARTED} -eq 0 ]; then SEARCH=$(echo ${LINE} | egrep "^${PROGRAM_NAME} ${SEARCH_VERSION}") if [ $? -eq 0 ]; then STARTED=1; ${ECHOCMD} "${BOLD}${LINE}${NORMAL}"; fi