#!/bin/bash
#
# gabriel 2010/06/03
# gabriel 2011/04/01 update to biblehal

export PATH="/bin:/usr/bin:/usr/lib/biblehal"


if [ -f /etc/biblehal/biblehal.conf ]
then
   . /etc/biblehal/biblehal.conf
fi

if "z${LABORATORY}" = "z" ]
then
   echo "LABORATORY must be configure in /etc/biblehal/biblehal.conf"
   exit 1
fi


for year in 1990 1994 1995 1996 1997 $(seq 1999 $(date +%Y))
do
   biblehal-pop ${LABORATORY} ${year}
   
   biblehal-explode ${year}
done
