From f0d1df7e561edd397d25c0bdf2c5a089bfd64468 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 17 Jun 2021 15:41:46 +0200 Subject: [PATCH] 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 --- debian/scripts/koha-shell | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/scripts/koha-shell b/debian/scripts/koha-shell index eb59909f0f..808fc13b64 100755 --- a/debian/scripts/koha-shell +++ b/debian/scripts/koha-shell @@ -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; } -- 2.32.0