Summary: | teach SIPServer to set its own lib path | ||
---|---|---|---|
Product: | Koha | Reporter: | Colin Campbell <colin.campbell> |
Component: | SIP2 | Assignee: | Bugs List <koha-bugs> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | chris, colin.campbell, paul.poulain |
Version: | 3.10 | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: | ||
Attachments: |
Proposed Patch
Bug 8271 teach SIPServer.pm to set its own lib path |
Description
Colin Campbell
2012-06-19 10:22:21 UTC
Created attachment 10361 [details] [review] Proposed Patch Corrected status of this Created attachment 10573 [details] [review] Bug 8271 teach SIPServer.pm to set its own lib path SIPServer.pm requires that C4/SIP is added to its lib path This has been done by passing this directory to it via -I. By using FindBin it can set the path for itself correctly. This will also work if the C4/SIP directory tree is moved to a non-standard location Removed the now redundant -I. from sip_run.sh Added a variable to sip_run.sh for the koha tree to highlight a problem with the script if you have multiple directories in the PERL5LIB environment variable Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> QA comment: small change, passes QA without any problem I haven't tested this patch, but I trust Colin enough to push it (chris_c, not sure it should be ported to 3.8, but maybe) There have been no further reports of problems so I am marking this bug resolved. |