forked from qt-creator/qt-creator
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:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user