Ignore:
Timestamp:
Apr 13, 2011, 1:28:08 PM (13 years ago)
Author:
rybkin
Message:

See C.L. 448

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/source/cmt_install_area.cxx

    r459 r565  
    197197  cmt_string installarea;
    198198
    199   const cmt_string pwd = CmtSystem::pwd ();
    200 
    201   installarea = Project::find_in_cmt_paths (pwd);
     199  const Use& use = Use::current ();
     200  cmt_string current_path (use.real_path);
     201  if (!use.located ())
     202    {
     203      CmtMessage::verbose ("build_current_installarea: Current use not located");
     204      current_path = CmtSystem::pwd ();
     205    }
     206  //const cmt_string pwd = CmtSystem::pwd ();
     207
     208  installarea = Project::find_in_cmt_paths (current_path);
     209  //installarea = Project::find_in_cmt_paths (pwd);
    202210
    203211  return (installarea);
Note: See TracChangeset for help on using the changeset viewer.