forked from qt-creator/qt-creator
RemoteLinux: Let user specify the rsync flags
Task-number: QTCREATORBUG-22352 Change-Id: I11c16b5f7c58093bb89a9493a8742f338dbdd9c1 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -230,7 +230,8 @@ void GenericLinuxDeviceTester::testRsync()
|
||||
this, [this] {
|
||||
handleRsyncFinished();
|
||||
});
|
||||
const RsyncCommandLine cmdLine = RsyncDeployStep::rsyncCommand(*d->connection);
|
||||
const RsyncCommandLine cmdLine = RsyncDeployStep::rsyncCommand(*d->connection,
|
||||
RsyncDeployStep::defaultFlags());
|
||||
const QStringList args = QStringList(cmdLine.options)
|
||||
<< "-n" << "--exclude=*" << (cmdLine.remoteHostSpec + ":/tmp");
|
||||
d->rsyncProcess.start("rsync", args);
|
||||
|
||||
Reference in New Issue
Block a user