Relax remote check for bwc project checkouts (elastic/x-pack-elasticsearch#3924)
Relates elastic/elasticsearch#28666 Original commit: elastic/x-pack-elasticsearch@7c67ee305a
This commit is contained in:
parent
e520453551
commit
495a0d83e5
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue