--- trunk/run.sh 2003/02/22 13:30:00 15 +++ branches/hidra/run.sh 2004/07/07 21:41:50 388 @@ -1,4 +1,14 @@ #!/bin/sh -./isis2xml.pl | swish-e -S prog -c swish_isis.conf +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 + +( ./all2xml.pl | swish-e -S prog -c swish_isis.conf ) 2>&1 | tee log