summaryrefslogtreecommitdiffstats
path: root/lib/changelog.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/changelog.sh')
-rw-r--r--lib/changelog.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/changelog.sh b/lib/changelog.sh
index 28357f5..06cb627 100644
--- a/lib/changelog.sh
+++ b/lib/changelog.sh
@@ -138,7 +138,8 @@ ob_parse_changelog()
'changelog_bad_source' \
"${source}"
fi
- if ! ob_parse_version "${version}"; then
+ if ! ob_parse_version -- "${version}"
+ then
_ob_parse_changelog_error \
"${file}" "${line_nr}" \
"changelog_bad_sourc$(:\