diff options
-rw-r--r-- | lib/changelog.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/changelog.sh b/lib/changelog.sh index af3255e..606282e 100644 --- a/lib/changelog.sh +++ b/lib/changelog.sh @@ -112,8 +112,8 @@ ob_parse_changelog() if [ -z "${source}" ] || \ [ -z "${distribution}" ] || \ [ -z "${version}" ] || \ - [ "${version% *}" != \ - "${version}" ]; then + [ x"${version% *}" != \ + x"${version}" ]; then _ob_parse_changelog_error "${file}" "${line_nr}" \ 'changelog_bad_heading' source='' @@ -146,8 +146,8 @@ ob_parse_changelog() maintainer="${line%% *}" date="${line#* }" if [ -z "${maintainer}" ] || [ -z "${date}" ] || - [ "${maintainer}" = "${date}" ] - then + [ x"${maintainer}" = \ + x"${date}" ]; then _ob_parse_changelog_error "${file}" "${line_nr}" \ 'changelog_bad_trailer' maintainer='' |