]> git.koha-community.org Git - koha.git/commit
Bug 37038: (QA follow-up) Replace \> by -gt
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 28 Jun 2024 06:29:50 +0000 (06:29 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 28 Jun 2024 11:49:23 +0000 (13:49 +0200)
commitfd7130becaef6af7da837df9fcbfcaf254fe3c48
tree585af5a08ce86360f13963b94e0e96f16dd89b79
parentbc92152e2f2d1488c48d4ead0dceb8e52f744d39
Bug 37038: (QA follow-up) Replace \> by -gt

Note that -gt is the bash integer comparison and > is the
lexical one:
$ if [ '1' \> '09' ]; then echo true; fi
true
$ if [ '1' -gt '09' ]; then echo true; fi

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
[EDIT] Added the dev/null redirection to suppress warn in bin/sh.
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
debian/scripts/koha-elasticsearch