diff --git a/distribution/bwc/build.gradle b/distribution/bwc/build.gradle index 34dc28620bf6e..b0b8405e0720a 100644 --- a/distribution/bwc/build.gradle +++ b/distribution/bwc/build.gradle @@ -68,7 +68,7 @@ subprojects { doLast { project.ext.remoteExists = false output.toString('UTF-8').eachLine { - if (it.contains("${remote}\thttps://github.com/${remote}/elasticsearch.git")) { + if (it.contains("${remote}\t")) { project.ext.remoteExists = true } }