[Koha-bugs] [Bug 25778] koha-plack --restart causes PERL5LIB to grow with duplicate entries

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 17 09:17:38 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25778

--- Comment #2 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 105934
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105934&action=edit
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

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list