]> git.notmuchmail.org Git - notmuch/commit
make release: verify-version-*: change comparison logic
authorTomi Ollila <tomi.ollila@iki.fi>
Mon, 21 Nov 2011 15:55:20 +0000 (17:55 +0200)
committerDavid Bremner <bremner@debian.org>
Thu, 24 Nov 2011 12:41:22 +0000 (08:41 -0400)
commit12197e89ad20a5e3a4d9b1de8394e9727fb46946
tree0a40744ff0a6d5fbaae81c305cbb5c157bee46d1
parent9cfafc070a4df4935781a274f039dc63790ed0c2
make release: verify-version-*: change comparison logic

verfy-version-debian, verify-version-python and verify-version-components
checked noneqality of the comparison strings and if got "positive"
answer then made that goal fail. But in case of the test ([ ])
execution failed it never got to the 'then' part of the line (and
the 'if [ ... ] then ... fi ' construct doesn't make the script line
fail in case of problems inside [ ].
This commit inverses the "logic", so that only if the comparison for
equality succeeds the script line will exit with 0 and execution
can continue past the failure case to the next line (executed by another
shell) with '@echo done'
Makefile.local