smpackage: strip out items that contain "CVS"
This commit is contained in:
@@ -245,12 +245,12 @@ bool ExportPackage( CString sPackageName, const CStringArray& asDirectoriesToExp
|
|||||||
{
|
{
|
||||||
CString sFilePath = asFilePaths[j];
|
CString sFilePath = asFilePaths[j];
|
||||||
|
|
||||||
// don't export "thumbs.db" files or "CVS folders
|
// don't export "thumbs.db" files or "CVS" folders
|
||||||
CString sDir, sFName, sExt;
|
CString sDir, sFName, sExt;
|
||||||
splitrelpath( sFilePath, sDir, sFName, sExt );
|
splitrelpath( sFilePath, sDir, sFName, sExt );
|
||||||
if( 0==stricmp(sFName,"thumbs.db") )
|
if( 0==stricmp(sFName,"thumbs.db") )
|
||||||
continue; // skip
|
continue; // skip
|
||||||
if( 0==stricmp(sFName,"thumbs.db") )
|
if( 0==stricmp(sFName,"CVS") )
|
||||||
continue; // skip
|
continue; // skip
|
||||||
|
|
||||||
try
|
try
|
||||||
|
|||||||
Reference in New Issue
Block a user