summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-07-26 02:37:29 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-07-26 02:37:29 (EDT)
commit1ea5cf50bccd1c5ae7707b524071dbb2623e9b4c (patch)
tree3db6abf96bf1b41ab2f68071f25c532e20f00f46 /src
parent129aee4288fe239b8c46bd283977ac1667feac37 (diff)
Print only the first changelog entry.
This will eventually be configurable as in dpkg-parsechangelog.
Diffstat (limited to 'src')
-rw-r--r--src/oh-parsechangelog.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/oh-parsechangelog.sh b/src/oh-parsechangelog.sh
index 86d8a8a..1b72ce3 100644
--- a/src/oh-parsechangelog.sh
+++ b/src/oh-parsechangelog.sh
@@ -30,7 +30,7 @@ main()
{
oh_changelog_parse changelog output
- printf 'Parsed %d entries.\n' ${?}
+ return 0
}
output()
@@ -50,7 +50,8 @@ output()
done <<EOF
${OH_CHANGELOG_CHANGES}
EOF
- echo
+
+ return 1
}
main