Bugzilla – Attachment 60349 Details for
Bug 16749
Additional fixes for debian scripts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16749: Check instancename in adjust_paths_dev_install
Bug-16749-Check-instancename-in-adjustpathsdevinst.patch (text/plain), 1.09 KB, created by
Jonathan Druart
on 2017-02-16 14:08:07 UTC
(
hide
)
Description:
Bug 16749: Check instancename in adjust_paths_dev_install
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-02-16 14:08:07 UTC
Size:
1.09 KB
patch
obsolete
>From 8d895b44f883ee9d22b2466f9c40a6df2dd6c46d Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Thu, 16 Feb 2017 14:33:57 +0100 >Subject: [PATCH] Bug 16749: Check instancename in adjust_paths_dev_install > >Check if the instance does not exist (or was not even passed). > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > debian/scripts/koha-functions.sh | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/debian/scripts/koha-functions.sh b/debian/scripts/koha-functions.sh >index 1fdfe83..256ae2b 100755 >--- a/debian/scripts/koha-functions.sh >+++ b/debian/scripts/koha-functions.sh >@@ -222,7 +222,11 @@ adjust_paths_dev_install() > # corresponding tag in koha-conf.xml > > local instancename=$1 >- local dev_install=$(run_safe_xmlstarlet $instancename dev_install) >+ local dev_install="" >+ >+ if [ "$instancename" != "" ] && is_instance $instancename; then >+ dev_install=$(run_safe_xmlstarlet $instancename dev_install) >+ fi > > if [ "$dev_install" != "" ] && [ "$dev_install" != "0" ]; then > DEV_INSTALL=1 >-- >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 16749
:
52561
|
55490
|
60064
|
60103
|
60106
|
60109
|
60110
|
60111
|
60112
|
60113
|
60114
|
60125
|
60126
|
60129
|
60130
|
60131
|
60132
|
60139
|
60140
|
60193
|
60194
|
60195
|
60196
|
60197
|
60335
|
60340
|
60343
|
60344
|
60345
|
60346
|
60347
|
60348
| 60349 |
60350