RemoteLinux: Allow skipping default targets in tar packages.

Change-Id: I229aa0ec3bfa1a135c9f14e272900995ac834421
Task-number: QTCREATORBUG-6324
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
Christian Kandeler
2011-10-24 17:58:53 +02:00
parent 3d4c98e8c4
commit d48087d13d

View File

@@ -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)) {