#!/bin/sh

#### THE SPOOL DIR IS "/build/buildd/wwwoffle-2.7a/debian/tmp/var/cache/wwwoffle" IN THE LINE BELOW ####

wwwoffle_spool=/build/buildd/wwwoffle-2.7a/debian/tmp/var/cache/wwwoffle

####

cd $wwwoffle_spool

# Set the path to include the search.cgi executable

PATH=$PATH:/usr/local/bin
PATH=$PATH:/usr/local/cgi-bin  # A possible location
PATH=$PATH:/usr/lib/cgi-bin    # The Debian location
export PATH

# Do the searching

UDMSEARCH_TEMPLATE=search/mnogosearch/conf/search.html
export UDMSEARCH_TEMPLATE

search.cgi
