Commit 4150e143 authored by Christian Kandeler's avatar Christian Kandeler
Browse files

Maemo: Manually create directories when deploying without packaging.

Task-number: QTCREATORBUG-4398
parent 408763b4
......@@ -780,9 +780,8 @@ void MaemoDeployStep::copyNextFileToDevice()
sourceFilePath += d.localFilePath;
#endif
QString command = QString::fromLatin1("%1 cp -r %2 %3")
.arg(MaemoGlobal::remoteSudo(), sourceFilePath,
d.remoteDir + QLatin1Char('/'));
QString command = QString::fromLatin1("%1 mkdir -p %3 && %1 cp -r %2 %3")
.arg(MaemoGlobal::remoteSudo(), sourceFilePath, d.remoteDir);
SshRemoteProcess::Ptr copyProcess
= m_connection->createRemoteProcess(command.toUtf8());
connect(copyProcess.data(), SIGNAL(errorOutputAvailable(QByteArray)),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment