Bugzilla – Attachment 13998 Details for
Bug 9260
koha-run-backups complains "[: 97: missing ]"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9260: stop koha-run-backups complaining "missing ]"
Bug-9260-stop-koha-run-backups-complaining-missing.patch (text/plain), 1.15 KB, created by
MJ Ray (software.coop)
on 2012-12-11 14:28:10 UTC
(
hide
)
Description:
Bug 9260: stop koha-run-backups complaining "missing ]"
Filename:
MIME Type:
Creator:
MJ Ray (software.coop)
Created:
2012-12-11 14:28:10 UTC
Size:
1.15 KB
patch
obsolete
>From bf27f2c7fd8f8858ef95ae56973931902722d9bb Mon Sep 17 00:00:00 2001 >From: MJ Ray <mjr@phonecoop.coop> >Date: Tue, 11 Dec 2012 14:17:36 +0000 >Subject: [PATCH] Bug 9260: stop koha-run-backups complaining "missing ]" >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >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 >--- > debian/scripts/koha-run-backups | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/debian/scripts/koha-run-backups b/debian/scripts/koha-run-backups >index 0aafc52..74f879b 100755 >--- a/debian/scripts/koha-run-backups >+++ b/debian/scripts/koha-run-backups >@@ -58,7 +58,7 @@ done > for name in $(koha-list --enabled | grep -Fxv demo) > do > koha-dump "$name" > /dev/null >- if [ -z "$dirname"]; then >+ if [ -z "$dirname" ]; then > backupdir="$( xmlstarlet sel -t -v 'yazgfs/config/backupdir' /etc/koha/sites/$name/koha-conf.xml )"; > else > backupdir="$dirname/$name"; >-- >1.7.2.5
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 9260
:
13998
|
14000
|
14002
|
14222