Bug 28519: Add lib to koha-shell
Test plan: % koha-shell kohadev -c 'echo $PERL5LIB' => /kohadevbox/koha:/kohadevbox/koha/lib % koha-shell kohadev echo $PERL5LIB => /kohadevbox/koha:/kohadevbox/koha/lib:/kohadevbox/qa-test-tools Note that this is not consistent but at least we have lib now in both situations Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
40089a0a53
commit
e917b5788c
|
|
@ -89,6 +89,7 @@ sub read_perl5lib {
|
|||
if ( $dev_install ) {
|
||||
# pick PERL5LIB from the intranetdir entry
|
||||
$result = `xmlstarlet sel -t -v "yazgfs/config/intranetdir" /etc/koha/sites/$instance/koha-conf.xml`;
|
||||
$result = "$result:$result/lib";
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue