Catting of changelog removed

This commit is contained in:
Michael Boelen 2016-07-30 13:48:22 +02:00
parent b5408e50df
commit 0e18551b2c

View File

@ -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