diff options
author | Tomi Ollila <tomi.ollila@iki.fi> | 2011-11-21 17:55:20 +0200 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2011-11-24 08:41:22 -0400 |
commit | 12197e89ad20a5e3a4d9b1de8394e9727fb46946 (patch) | |
tree | 0a40744ff0a6d5fbaae81c305cbb5c157bee46d1 /compat | |
parent | 9cfafc070a4df4935781a274f039dc63790ed0c2 (diff) |
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'
Diffstat (limited to 'compat')
0 files changed, 0 insertions, 0 deletions