forked from qt-creator/qt-creator
Maemo: Manually create directories when deploying without packaging.
Task-number: QTCREATORBUG-4398
This commit is contained in:
@@ -136,9 +136,9 @@ void MaemoRemoteCopyFacility::copyNextFile()
|
||||
sourceFilePath += d.localFilePath;
|
||||
#endif
|
||||
|
||||
QString command = QString::fromLatin1("%1 cp -r %2 %3")
|
||||
QString command = QString::fromLatin1("%1 mkdir -p %3 && %1 cp -r %2 %3")
|
||||
.arg(MaemoGlobal::remoteSudo(m_copyRunner->connection()->connectionParameters().userName),
|
||||
sourceFilePath, d.remoteDir + QLatin1Char('/'));
|
||||
sourceFilePath, d.remoteDir);
|
||||
emit progress(tr("Copying file '%1' to directory '%2' on the device...")
|
||||
.arg(d.localFilePath, d.remoteDir));
|
||||
m_copyRunner->run(command.toUtf8());
|
||||
|
Reference in New Issue
Block a user