Bugzilla – Attachment 168221 Details for
Bug 37038
koha-elasticsearch creates a file named 0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37038: (QA follow-up) Replace \> by -gt
Bug-37038-QA-follow-up-Replace--by--gt.patch (text/plain), 1.22 KB, created by
Marcel de Rooy
on 2024-06-28 06:33:14 UTC
(
hide
)
Description:
Bug 37038: (QA follow-up) Replace \> by -gt
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2024-06-28 06:33:14 UTC
Size:
1.22 KB
patch
obsolete
>From 2f77f5ef1a39426543bfcb1ff548fa2ee5837901 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 28 Jun 2024 06:29:50 +0000 >Subject: [PATCH] Bug 37038: (QA follow-up) Replace \> by -gt >Content-Type: text/plain; charset=utf-8 > >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> >--- > debian/scripts/koha-elasticsearch | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/debian/scripts/koha-elasticsearch b/debian/scripts/koha-elasticsearch >index 24f4970941..6dc38cf8ca 100755 >--- a/debian/scripts/koha-elasticsearch >+++ b/debian/scripts/koha-elasticsearch >@@ -90,12 +90,12 @@ run_rebuild_elasticsearch() > KOHA_BINDIR=${KOHA_HOME}/misc > fi > >- if [ "${clo_commit_size}" \> 0 ]; then >+ if [ "${clo_commit_size}" -gt 0 ]; then > commit_size=${clo_commit_size} > fi > rebuild_opts="--commit ${commit_size}" > >- if [ "${clo_processes}" \> 0 ]; then >+ if [ "${clo_processes}" -gt 0 ]; then > processes=${clo_processes} > fi > rebuild_opts="${rebuild_opts} --processes ${processes}" >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 37038
:
167487
|
167491
|
168220
|
168221
|
168222