- #!/bin/sh
- #### THE SPOOL DIR IS "SPOOLDIR" IN THE LINE BELOW ####
- wwwoffle_spool=SPOOLDIR
- ####
- # Set the path to include the htdig executables
- 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
- htsearch -c $wwwoffle_spool/html/htdig/conf/htsearch.conf