[Bug 9260] New: koha-run-backups complains "[: 97: missing ]"
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9260 Bug ID: 9260 Summary: koha-run-backups complains "[: 97: missing ]" Classification: Unclassified Change sponsored?: Sponsored Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Packaging Assignee: koha-bugs@lists.koha-community.org Reporter: mjr@software.coop CC: robin@catalyst.net.nz The cron.daily for 3.10 packages produces the following error mailed to root: [: 97: missing ] [: 97: missing ] [: 97: missing ] I've isolated this to koha-run-backups --days 2 --output /var/spool/koha Patch will follow in a few seconds. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9260 --- Comment #1 from MJ Ray (software.coop) <mjr@software.coop> --- Created attachment 13998 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=13998&action=edit Bug 9260: stop koha-run-backups complaining "missing ]" Found because cron.daily/koha output contains the error "[: 97: missing ]" To test: 1. run koha-run-backups --days 2 --output /var/spool/koha 2. should see no output Sponsored-by: Library of the Józef Piłsudski Institute of America -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9260 MJ Ray (software.coop) <mjr@software.coop> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff Patch complexity|--- |Trivial patch -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9260 --- Comment #2 from Vitor Fernandes <vfernandes@keep.pt> --- Created attachment 14000 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=14000&action=edit Bug 9019: Return item fields in ILS-DI GetRecords Signed-off-by: Srikanth Dhondi <srikanth@catalyst.net.nz> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> 1) Activate ILS-DI in system preferencs 2) Access http://.../cgi-bin/koha/ilsdi.pl to see documentation 3) Try http://.../cgi-bin/koha/ilsdi.pl?service=GetRecords&id=12+14 with various valid biblionumbers for your system 4) Verify 952 is included in the <marcxml> and all other data displays correctly All tests pass. http://bugs.koha-community.org/show_bug.cgi?id=9010 Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com> -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9260 MJ Ray (software.coop) <mjr@software.coop> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #14000|0 |1 is obsolete| | -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9260 --- Comment #3 from Vitor Fernandes <vfernandes@keep.pt> --- Created attachment 14002 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=14002&action=edit [SIGNED-OFF] Bug 9260: stop koha-run-backups complaining "missing ]" Found because cron.daily/koha output contains the error "[: 97: missing ]" To test: 1. run koha-run-backups --days 2 --output /var/spool/koha 2. should see no output Sponsored-by: Library of the Józef Piłsudski Institute of America Signed-off-by: Vitor FERNANDES <vfernandes@keep.pt> -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9260 Vitor Fernandes <vfernandes@keep.pt> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off CC| |vfernandes@keep.pt -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9260 MJ Ray (software.coop) <mjr@software.coop> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #13998|0 |1 is obsolete| | -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9260 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA CC| |jonathan.druart@biblibre.co | |m QA Contact| |jonathan.druart@biblibre.co | |m --- Comment #4 from Jonathan Druart <jonathan.druart@biblibre.com> --- QA Comments: This patch fixes a syntax error in a sh script. Marked as Passed QA. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9260 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #14002|0 |1 is obsolete| | --- Comment #5 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 14222 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=14222&action=edit Bug 9260: stop koha-run-backups complaining "missing ]" Found because cron.daily/koha output contains the error "[: 97: missing ]" To test: 1. run koha-run-backups --days 2 --output /var/spool/koha 2. should see no output Sponsored-by: Library of the Józef Piłsudski Institute of America Signed-off-by: Vitor FERNANDES <vfernandes@keep.pt> Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> I still get an error: ./koha-run-backups: 58: ./koha-run-backups: koha-list: not found But this patch fixes the syntax error -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9260 Jared Camins-Esakov <jcamins@cpbibliography.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master --- Comment #6 from Jared Camins-Esakov <jcamins@cpbibliography.com> --- This patch has been pushed to master. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9260 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |Pushed to Stable CC| |chris@bigballofwax.co.nz --- Comment #7 from Chris Cormack <chris@bigballofwax.co.nz> --- Pushed to 3.10.x will be in 3.10.1 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org