Chop a trailing / of the repository url -> no clean path necessary
This commit is contained in:
parent
a4bb993217
commit
5beb235d92
@ -74,6 +74,11 @@ int main(int argc, char *argv[]) {
|
|||||||
parser.readSettings();
|
parser.readSettings();
|
||||||
|
|
||||||
QString repositoryUrl = parser.repositoryUrl();
|
QString repositoryUrl = parser.repositoryUrl();
|
||||||
|
|
||||||
|
if (repositoryUrl.endsWith('/')) {
|
||||||
|
repositoryUrl.chop(1);
|
||||||
|
}
|
||||||
|
|
||||||
QString gitSSHCommand("");
|
QString gitSSHCommand("");
|
||||||
|
|
||||||
if (repositoryUrl.contains("ptu-config.atb-comm.de")) {
|
if (repositoryUrl.contains("ptu-config.atb-comm.de")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user