https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 --- Comment #17 from Tomás Cohen Arazi <tomascohen@gmail.com> --- (In reply to Jonathan Druart from comment #16)
I think the env vars must be kept if --preserve-env is passed. But in that case we should do the test in the bashrc (if vars exist, don't reset them with the default values).
Also I guess the following lines should be removed (var must be defined in bashrc?) 51 "env " 52 . "KOHA_CONF=/etc/koha/sites/$instance/koha-conf.xml " 53 . "PERL5LIB=$perl5lib
But we are going to far, the whole script needs its own bug report (if the above is correct).
It smells like this is a problem in KTD, the run.sh script should be doing things in a different way. We passed things like KOHA_INTRANET_URL to the koha-shell because the different default shells pick or not the variables depending on which is being used. -- You are receiving this mail because: You are watching all bug changes.