diff --git a/UpdatePTUDevCtrl/main.cpp b/UpdatePTUDevCtrl/main.cpp index 8487f26..c3e8cba 100644 --- a/UpdatePTUDevCtrl/main.cpp +++ b/UpdatePTUDevCtrl/main.cpp @@ -74,6 +74,11 @@ int main(int argc, char *argv[]) { parser.readSettings(); QString repositoryUrl = parser.repositoryUrl(); + + if (repositoryUrl.endsWith('/')) { + repositoryUrl.chop(1); + } + QString gitSSHCommand(""); if (repositoryUrl.contains("ptu-config.atb-comm.de")) {