Bugzilla – Attachment 14002 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]
[SIGNED-OFF] Bug 9260: stop koha-run-backups complaining "missing ]"
SIGNED-OFF-Bug-9260-stop-koha-run-backups-complain.patch (text/plain), 1.21 KB, created by
Vitor Fernandes
on 2012-12-11 15:44:32 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 9260: stop koha-run-backups complaining "missing ]"
Filename:
MIME Type:
Creator:
Vitor Fernandes
Created:
2012-12-11 15:44:32 UTC
Size:
1.21 KB
patch
obsolete
>From 6161d80465c0c207df148686fb7b5dff1c83f247 Mon Sep 17 00:00:00 2001 >From: MJ Ray <mjr@phonecoop.coop> >Date: Tue, 11 Dec 2012 14:17:36 +0000 >Subject: [PATCH] [SIGNED-OFF] 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 >Signed-off-by: Vitor FERNANDES <vfernandes@keep.pt> >--- > debian/scripts/koha-run-backups | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >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.9.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