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:
Michael Basnight 2018-02-13 14:54:38 -06:00 committed by GitHub
parent e520453551
commit 495a0d83e5
1 changed files with 2 additions and 2 deletions

View File

@ -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
}
}