From: Gilles D. <gr...@sc...> - 2004-07-22 20:28:51
|
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: <gr...@sc...> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/ Dept. Physiology, U. of Manitoba Winnipeg, MB R3E 3J7 (Canada) |