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"