Bugzilla – Attachment 105934 Details for
Bug 25778
koha-plack puts duplicate entries into PERL5LIB when multiple instances named
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25778: Remove install lib dir from PERL5LIB to prevent dup
Bug-25778-Remove-install-lib-dir-from-PERL5LIB-to-.patch (text/plain), 1.26 KB, created by
Jonathan Druart
on 2020-06-17 07:17:38 UTC
(
hide
)
Description:
Bug 25778: Remove install lib dir from PERL5LIB to prevent dup
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-06-17 07:17:38 UTC
Size:
1.26 KB
patch
obsolete
>From 25adf1ba18fd544d79baedf0ba7ff09ef1273f80 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 17 Jun 2020 09:15:00 +0200 >Subject: [PATCH] Bug 25778: Remove install lib dir from PERL5LIB to prevent > dup > >In a non dev environment, PERL5LIB will contain duplicate of >$KOHA_HOME/installer and $KOHA_HOME/installer/lib > >To prevent that we remove them before appending them. > >Test plan: >Try the code in a shell and confirm that it works as expected. > >Note: it does not happend in dev because adjust_paths_dev_install reset >PERL5LIB to KOHA_HOME >--- > debian/scripts/koha-plack | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/debian/scripts/koha-plack b/debian/scripts/koha-plack >index 90da6cbd36..dd94b799f2 100755 >--- a/debian/scripts/koha-plack >+++ b/debian/scripts/koha-plack >@@ -392,6 +392,7 @@ if [ $# -gt 0 ]; then > adjust_paths_dev_install $name > export DEV_INSTALL > export KOHA_HOME >+ PERL5LIB=`echo $PERL5LIB | sed -e "s|:$KOHA_HOME/installer||g" -e "s|:$KOHA_HOME/lib/installer||g"` > PERL5LIB=$PERL5LIB:$KOHA_HOME/installer:$KOHA_HOME/lib/installer > # If debug mode is enabled, add the debugger lib path > # to PERL5LIB if appropriate >-- >2.20.1
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 25778
:
105934
|
108221
|
108290
|
108472