Changeset 97 for CMT/HEAD


Ignore:
Timestamp:
Oct 11, 2005, 3:42:47 PM (19 years ago)
Author:
arnault
Message:

Protection against single level directories in CMTPATH (/xxx) see CL#285

Location:
CMT/HEAD
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/ChangeLog

    r96 r97  
     12005-10-11  Christian Arnault  <arnault@lal.in2p3.fr> 285
     2
     3        * source/cmt_project.cxx (create_project): Protection against
     4        single level directories in CMTPATH (/xxx)
     5
    162005-10-11    <arnault@lal.in2p3.fr> 284
    27
  • CMT/HEAD/source/cmt_project.cxx

    r84 r97  
    465465          CmtSystem::dirname (compressed_path, name);
    466466          CmtSystem::basename (name, name);
     467
     468          if (name == "")
     469            {
     470              name = release;
     471              release = "";
     472            }
    467473         
    468474          break;
     
    494500          break;
    495501        }
     502    }
     503
     504  if (name == "")
     505    {
     506      name = "Project";
    496507    }
    497508
Note: See TracChangeset for help on using the changeset viewer.