Relax remote check for bwc project checkouts (elastic/x-pack-elasticsearch#3924)
Relates elastic/elasticsearch#28666
Original commit: elastic/x-pack-elasticsearch@b500ef3fff9dd7e293c25a86060f2f07ce59c70f
@@ -82,7 +82,7 @@ subprojects {
}
project.ext.esRemoteExists = false
output.toString('UTF-8').eachLine {
- if (it.contains("${remote}\tgit@github.com:${remote}/elasticsearch.git")) {
+ if (it.contains("${remote}\t")) {
project.ext.esRemoteExists = true
}
}
@@ -103,7 +103,7 @@ subprojects {
}
project.ext.xpackRemoteExists = false
output.toString('UTF-8').eachLine {
- if (it.contains("${remote}\tgit@github.com:${remote}/x-pack-elasticsearch.git")) {
+ if (it.contains("${remote}\t")) {
project.ext.xpackRemoteExists = true
}
}
