Search
j0ke.net Open Build Service
>
Projects
>
server:search
>
htdig
> htdig-rundig.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File htdig-rundig.patch of Package htdig (Revision 3)
Currently displaying revision
3
,
show latest
Index: installdir/rundig =================================================================== --- installdir/rundig.orig +++ installdir/rundig @@ -30,13 +30,17 @@ done # If -a specified, note the database directory to move the temp files correctly -# TODO: Should also check for files relative to COMMONDIR. if [ -f "$conffile" ] then new_db_dir=`awk '/^[^#a-zA-Z]*database_dir/ { print $NF }' < $conffile` if [ "$new_db_dir" != "" ] then - DBDIR=$new_db_dir + DBDIR=$new_db_dir + fi + new_dir=`awk '/^[^#a-zA-Z]*common_dir/ { print $NF }' < $conffile` + if [ "$new_dir" != "" ] + then + COMMONDIR=$new_dir fi else echo "Config file $conffile cannot be found"