Changeset 457
- Timestamp:
- May 13, 2008, 12:25:12 PM (16 years ago)
- Location:
- CMT/HEAD
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/HEAD/ChangeLog
r456 r457 1 2008-05-13 <rybkin@lal.in2p3.fr> 358 2 3 * source/cmt_project.cxx: Add the real CMTPATH of project to the paths returned 4 by Project::fill_selection () 5 * source/cmt_parser.cxx: When cmt broadcast is run, ensure that the current package 6 is not skipped due to symlinks in the paths 7 1 8 2008-04-21 <rybkin@lal.in2p3.fr> 357 2 9 -
CMT/HEAD/source/cmt_parser.cxx
r453 r457 1440 1440 //if (command.substr (0, 3) == "cmt") is_cmt = true; 1441 1441 1442 cmt_string curuse = CmtSystem::pwd (); 1442 1443 if (all_packages) 1443 1444 { … … 1505 1506 } 1506 1507 1508 curuse = s; 1509 1507 1510 cmt_string& v = versions.add (); 1508 1511 v = use->version; … … 1532 1535 bool excluded = false; 1533 1536 1534 if (path_selections.size () > 0) 1537 /** 1538 Ensure that the current package is not skipped 1539 due to symlinks in the paths 1540 */ 1541 // if (path_selections.size () > 0) 1542 if (path_selections.size () > 0 && s != curuse) 1535 1543 { 1536 1544 selected = false; -
CMT/HEAD/source/cmt_project.cxx
r437 r457 987 987 const cmt_string& p = project.get_cmtpath (); 988 988 const cmt_string& pwd = project.get_cmtpath_pwd (); 989 const cmt_string& p_real = project.get_cmtpath_real (); 989 990 const cmt_string& src = project.get_cmtpath_source (); 990 991 … … 995 996 cmt_string& s1 = path_selections.add (); 996 997 s1 = p; 997 cmt_string& s2 = path_selections.add (); 998 s2 = pwd; 998 if (pwd != p) 999 { 1000 cmt_string& s2 = path_selections.add (); 1001 s2 = pwd; 1002 } 1003 if (p_real != p && p_real != pwd) 1004 { 1005 cmt_string& s3 = path_selections.add (); 1006 s3 = p_real; 1007 } 999 1008 depth--; 1000 1009
Note: See TracChangeset
for help on using the changeset viewer.