diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2016-07-30 14:48:22 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2016-07-30 14:48:22 +0300 |
commit | 0e18551b2c530ae137b7bd7493ff4898d982535c (patch) | |
tree | cc8d4de61a7b36697fee62c658437a476880a75f /include/helper_show | |
parent | b5408e50dff2207e72fd15fa1a4d43214f91860d (diff) |
Catting of changelog removed
Diffstat (limited to 'include/helper_show')
-rw-r--r-- | include/helper_show | 2 |
1 files changed, 1 insertions, 1 deletions
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 |