Bugzilla – Attachment 72413 Details for
Bug 17717
Fix broken cronjobs due to permissions of the current directory
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17717: (QA follow-up) Fix typo chdir
Bug-17717-QA-follow-up-Fix-typo-chdir.patch (text/plain), 1.15 KB, created by
Marcel de Rooy
on 2018-03-05 10:36:26 UTC
(
hide
)
Description:
Bug 17717: (QA follow-up) Fix typo chdir
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2018-03-05 10:36:26 UTC
Size:
1.15 KB
patch
obsolete
>From dab2cf99dadf25aebcdb02f2cc69cfee5b17055a Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Mon, 5 Mar 2018 11:30:15 +0100 >Subject: [PATCH] Bug 17717: (QA follow-up) Fix typo chdir >Content-Type: text/plain; charset=utf-8 > >This test does obviously not achieve the desired result: > [ "chdir" != "no" ] >Trivial fix. >Adding the same quotes around starting_dir (just as for Bug 19546). > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > debian/scripts/koha-foreach | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/debian/scripts/koha-foreach b/debian/scripts/koha-foreach >index 47f92c5..9682f14 100755 >--- a/debian/scripts/koha-foreach >+++ b/debian/scripts/koha-foreach >@@ -59,11 +59,11 @@ do > if [ "${cmd}" != "" ]; then > > # Change to the instance's home dir if required >- [ "chdir" != "no" ] && eval cd ~$name"-koha" >+ [ "$chdir" != "no" ] && eval cd ~$name"-koha" > > koha-shell ${name} -c "${cmd}" > > # Go back to the original dir if required >- [ "chdir" != "no" ] && cd $starting_dir >+ [ "$chdir" != "no" ] && cd "$starting_dir" > fi > done >-- >2.1.4
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 17717
:
57947
|
63676
|
63677
|
72368
|
72369
|
72372
|
72373
|
72411
|
72412
| 72413