Check if "-stagingDir" is passed from the command
Check if "-stagingDir" is passed from the command line before trying to copy files to it. Change-Id: Id39882e4e955bd54328c8e747377b9d49f977378 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit f071421558c751dc03c338f3271546c459ed9209) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
1ee479c66d
commit
72fcfba1d5
@ -649,7 +649,7 @@ public:
|
|||||||
error = SyncFailed;
|
error = SyncFailed;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!m_commandLineArgs->scanAllMode()) {
|
if (!m_commandLineArgs->scanAllMode() && !m_commandLineArgs->stagingDir().empty()) {
|
||||||
// Copy the generated files to a spearate staging directory to make the installation
|
// Copy the generated files to a spearate staging directory to make the installation
|
||||||
// process eaiser.
|
// process eaiser.
|
||||||
if (!copyGeneratedHeadersToStagingDirectory(m_commandLineArgs->stagingDir()))
|
if (!copyGeneratedHeadersToStagingDirectory(m_commandLineArgs->stagingDir()))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user