Revision 738 (by dpavlin, 2006/05/24 17:06:05) setup LC_COLLATE and LC_CTYPE before running script
#!/bin/sh

dir=`dirname $0`
if [ "$dir" == "." ] ; then
	dir=`pwd`
fi

week=`date +%Y%w`
last_week=`cat $dir/.week 2>/dev/null || echo 'none'`

cd $dir

export LC_COLLATE=hr_HR
export LC_CTYPE=hr_HR

( ./all2xml.pl | swish-e -S prog -c swish_isis.conf ) 2>&1 | tee log