Bug 22396: Make koha-sip set KOHA_HOME and KOHA_CONF correctly
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 22 Feb 2019 15:00:35 +0000 (12:00 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 1 Mar 2019 10:58:30 +0000 (10:58 +0000)
commit8b570caf8aba4b883a5631caca652191df3aed9e
tree2aefb19329e56f12cde437c4495f97ddb8b0c20d
parent37374dc82b25b90d843a77634bbbc0d0ea6aef6d
Bug 22396: Make koha-sip set KOHA_HOME and KOHA_CONF correctly

This patch corrects a typo, and exports KOHA_CONF as other scripts do.

To test:
- Apply this patch
- Run:
  $ # in kohadevbox
  $ perl misc4dev/cp_debian_files.pl
- Try the new script
  $ sudo koha-sip --start kohadev
=> SUCCESS: tail -f /var/log/koha/kohadev/sip* doesn't show fatal errors
anymore
- Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 7128db531c18d3c75a4bad3424bd77732c0d4687)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
debian/scripts/koha-sip