According to Robert Ribnitz:
> 
> I know I am commenting on old code, but please have a look at:
> 
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=117887
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=139922
> 
> both revolve around the grep in rundig (for 3.1.6)
> 
> I have added the ^ in the debian package as the poster suggests

Another problem with this grep statement that was added to rundig (it's
not in the one bundled with 3.1.6 or 3.2.0b6), is that it sets DBDIR only
to the database_dir value specified in the default htdig.conf file.  If
an alternate config file is specified via -c, the script doesn't seem to
take that into account and grab the database_dir value from there.

A better approach is to do it as in the rundig script bundled in 3.2.0b6:
here it grabs the database_dir value after the command line arguments
are parsed.  I believe you could safely replace lines 13-24 of the 3.1.6
rundig script with lines 13-44 from 3.2.0b6's rundig to get the same
effect in 3.1.6.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/
Dept. Physiology, U. of Manitoba  Winnipeg, MB  R3E 3J7  (Canada)


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
ht://Dig Developer mailing list:
[EMAIL PROTECTED]
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to