Bug 9656: Followup Make logging to a file optional (for fines)
authorJonathan Druart <jonathan.druart@biblibre.com>
Thu, 28 Feb 2013 13:09:24 +0000 (14:09 +0100)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Thu, 7 Mar 2013 14:27:02 +0000 (09:27 -0500)
commitc65b45e3b4309e1965f682dbc9c551cbeaea7189
tree35cca3c83028e45cc71ad75550f3de0b896ece73
parentd2bee4486c129de28d52b04089d17dd65b2d6764
Bug 9656: Followup Make logging to a file optional (for fines)

The -log option become optional if the -output_dir is given.

Test plan:
call the script with
1/ no one parameter : no log file
2/ -l : log file will be created in /tmp
3/ -o=/home/koha/var/log : log file with be created in the specified
4/ -o=/home/koha/var/log -l: Same as 3/

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Comment: All combination of options tested. Works well. No errors.
Signed-off-by: Elliott Davis <elliott@bywatersolions.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
misc/cronjobs/fines.pl