forked from qt-creator/qt-creator
Maemo: Manually create directories when deploying without packaging.
Task-number: QTCREATORBUG-4398
This commit is contained in:
@@ -780,9 +780,8 @@ void MaemoDeployStep::copyNextFileToDevice()
|
|||||||
sourceFilePath += d.localFilePath;
|
sourceFilePath += d.localFilePath;
|
||||||
#endif
|
#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(), sourceFilePath,
|
.arg(MaemoGlobal::remoteSudo(), sourceFilePath, d.remoteDir);
|
||||||
d.remoteDir + QLatin1Char('/'));
|
|
||||||
SshRemoteProcess::Ptr copyProcess
|
SshRemoteProcess::Ptr copyProcess
|
||||||
= m_connection->createRemoteProcess(command.toUtf8());
|
= m_connection->createRemoteProcess(command.toUtf8());
|
||||||
connect(copyProcess.data(), SIGNAL(errorOutputAvailable(QByteArray)),
|
connect(copyProcess.data(), SIGNAL(errorOutputAvailable(QByteArray)),
|
||||||
|
Reference in New Issue
Block a user