Commit d48087d1 authored by Christian Kandeler's avatar Christian Kandeler
Browse files

RemoteLinux: Allow skipping default targets in tar packages.



Change-Id: I229aa0ec3bfa1a135c9f14e272900995ac834421
Task-number: QTCREATORBUG-6324
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@nokia.com>
parent 3d4c98e8
......@@ -160,6 +160,11 @@ bool TarPackageCreationStep::doPackage(QFutureInterface<bool> &fi)
}
foreach (const DeployableFile &d, m_files) {
if (d.remoteDir.isEmpty()) {
emit addOutput(tr("No remote path specified for file '%1', skipping.")
.arg(QDir::toNativeSeparators(d.localFilePath)), ErrorMessageOutput);
continue;
}
QFileInfo fileInfo(d.localFilePath);
if (!appendFile(tarFile, fileInfo, d.remoteDir + QLatin1Char('/')
+ fileInfo.fileName(), fi)) {
......
Supports Markdown
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