dump STDOUT to log, STDERR to screen
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 24 Nov 2013 16:39:59 +0000 (17:39 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 24 Nov 2013 16:39:59 +0000 (17:39 +0100)
run.sh

diff --git a/run.sh b/run.sh
index 5fe49d1..bd179bf 100755 (executable)
--- a/run.sh
+++ b/run.sh
@@ -1,5 +1,5 @@
 #!/bin/sh -e
 
 cd /srv/koha-bibliografija
 #!/bin/sh -e
 
 cd /srv/koha-bibliografija
-( LC_COLLATE=hr_HR.utf8 KOHA_CONF=/etc/koha/sites/ffzg/koha-conf.xml ./html.pl 2>&1 ) | tee /tmp/koha-bibliografija.log
+LC_COLLATE=hr_HR.utf8 KOHA_CONF=/etc/koha/sites/ffzg/koha-conf.xml ./html.pl > /tmp/koha-bibliografija.log