Changeset 709 for trunk


Ignore:
Timestamp:
Nov 27, 2008, 12:37:22 AM (13 years ago)
Author:
Peter Johansson
Message:

ignoreing dir that is '.' in concatenate_path and thereby error message about default config './.svndigest/config' becomes '.svndigest/config'

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/Parameter.cc

    r708 r709  
    6565
    6666    if (!config_file_->present())
    67       config_file_->value(root_->value()+"/.svndigest/config");
     67      config_file_->value(concatenate_path(root_->value(),".svndigest/config"));
    6868
    6969    // analyse arguments
  • trunk/lib/utility.cc

    r705 r709  
    6666  std::string concatenate_path(std::string dir, std::string base)
    6767  {
    68     if (dir.empty())
     68    if (dir.empty() || dir==".")
    6969      return base;
    7070    if (dir[dir.size()-1]!='/')
Note: See TracChangeset for help on using the changeset viewer.