]> git.koha-community.org Git - koha.git/commit
Bug 9260: stop koha-run-backups complaining "missing ]"
authorMJ Ray <mjr@phonecoop.coop>
Tue, 11 Dec 2012 14:17:36 +0000 (14:17 +0000)
committerChris Cormack <chrisc@catalyst.net.nz>
Fri, 21 Dec 2012 19:34:21 +0000 (08:34 +1300)
commit904f7c2c60579c2128f820fd684a77731cff877e
tree8de225480712fe50d17d5e9f18eee9a7fd493b20
parent5889a4486807a0316be93856e36591f79603dcba
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
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
debian/scripts/koha-run-backups