Ignore:
Timestamp:
Jun 6, 2013, 4:16:59 PM (11 years ago)
Author:
rybkin
Message:

merge -r 631:635 HEAD

Location:
CMT/v1r25-branch
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CMT/v1r25-branch

  • CMT/v1r25-branch/source/cmt_parser.cxx

    r640 r642  
    31143114    }
    31153115
     3116  //  CmtSystem::cd ("..");
     3117  //  CmtSystem::scan_dir (Me.m_cmt_config, expression, makes);
     3118
    31163119  cmt_string bin ("..");
    31173120  bin += CmtSystem::file_separator ();
    31183121  bin += Me.m_cmt_config;
    3119   //  CmtSystem::cd ("..");
    3120 
    3121   CmtSystem::scan_dir (bin, expression, makes);
    3122   //  CmtSystem::scan_dir (Me.m_cmt_config, expression, makes);
     3122
     3123  if (CmtSystem::test_directory (bin))
     3124    // in case directory bin does not exist,
     3125    // this function scans the parent directory instead
     3126    CmtSystem::scan_dir (bin, expression, makes);
     3127  else
     3128    makes.clear ();
    31233129   
    31243130  if (makes.size () > 0)
     
    31273133        {
    31283134          cout << "Removing all previous make fragments from "
    3129                << Me.m_cmt_config << endl;
     3135               << bin << endl;
     3136          //           << Me.m_cmt_config << endl;
    31303137        }
    31313138
Note: See TracChangeset for help on using the changeset viewer.