From 1dc75786453c98f1491e18dc998d969730e58cb3 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Fri, 28 Jun 2024 12:49:53 +0200 Subject: [PATCH] Clean repository path from multiple slashes. --- UpdatePTUDevCtrl/worker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UpdatePTUDevCtrl/worker.cpp b/UpdatePTUDevCtrl/worker.cpp index dacf4c6..be8b38d 100644 --- a/UpdatePTUDevCtrl/worker.cpp +++ b/UpdatePTUDevCtrl/worker.cpp @@ -148,7 +148,7 @@ Worker::Worker(int customerNr, , m_pluginName(pluginName) , m_workingDirectory(workingDirectory) , m_branchName(branchName) - , m_customerRepositoryPath(QString("%1/%2.git").arg(repositoryUrl).arg(m_customerNrStr)) + , m_customerRepositoryPath(QDir::cleanPath(QString("%1/%2.git").arg(repositoryUrl).arg(m_customerNrStr))) , m_customerRepository(QDir::cleanPath(m_workingDirectory + QDir::separator() + m_customerNrStr)) , m_noUpdatePsaHardware(noUpdatePsaHardware) , m_alwaysDownloadConfig(alwaysDownloadConfig)