QFileInfo fi_sh ( targetFolder->text() + "/env_products.sh");
QFileInfo fi_csh( targetFolder->text() + "/env_products.csh");
QCheckListItem* itemBin = findItem( "KERNEL-Bin" );
- QCheckListItem* itemSrc = findItem( "KERNEL-Bin" );
+ QCheckListItem* itemSrc = findItem( "KERNEL-Src" );
if ( itemBin /*&& !productsView->isNone( itemBin )*/ ) {
if ( fi_sh.exists() ) {
QString script = "cp " + fi_sh.filePath() + " " + targetFolder->text() + "/KERNEL_" + itemBin->text(1) + "/salome.sh";