From: vsr Date: Wed, 16 Feb 2005 06:13:38 +0000 (+0000) Subject: Optimize checking of native products process X-Git-Tag: SALOME_V_2_2_0~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=986121e8f46f9ac49b32ac7639f32182f8ef16cc;p=tools%2Finstall.git Optimize checking of native products process --- diff --git a/src/SALOME_InstallWizard.cxx b/src/SALOME_InstallWizard.cxx index 40e9481..251e375 100644 --- a/src/SALOME_InstallWizard.cxx +++ b/src/SALOME_InstallWizard.cxx @@ -1051,9 +1051,10 @@ bool SALOME_InstallWizard::acceptData( const QString& pageTitle ) for ( unsigned i = 0; i < natives.count(); i++ ) { item = findItem( natives[ i ] ); if ( item ) { + QString dependOn = productsMap[ item ].getDependancies().join(" "); QString script = "cd ./config_files/;" + item->text(2) + " try_native " + QFileInfo( tmpFolder ).absFilePath() + " " + QDir::currentDirPath() + "/Products " + QFileInfo( tgtFolder ).absFilePath() + " " + - QUOTE(DefineDependeces(productsMap)) + " " + item->text(0); + QUOTE(dependOn) + " " + item->text(0); myThread->addCommand( item, script ); }