updated branches to trunk
[webpac] / run.sh
1 #!/bin/sh
2
3 dir=`dirname $0`
4 if [ "$dir" == "." ] ; then
5         dir=`pwd`
6 fi
7
8 week=`date +%Y%w`
9 last_week=`cat $dir/.week 2>/dev/null || echo 'none'`
10
11 cd $dir
12
13 ( ./all2xml.pl | swish-e -S prog -c swish_isis.conf ) 2>&1 | tee log
14