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)
committerroot <root@f1ebe1bec408>
Tue, 26 Feb 2019 12:33:27 +0000 (12:33 +0000)
commit7128db531c18d3c75a4bad3424bd77732c0d4687
tree35a77ae64ef5dcc33326466084564e7684095399
parentf0aa1c06a100108b66cd58cb3614915fc589f13e
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>
debian/scripts/koha-sip