Fix bwc checkout upstream remote check

This commit is contained in:
Ryan Ernst 2017-03-24 02:22:59 -07:00
parent e7a8e69900
commit a26321e03b
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ task findUpstream(type: LoggedExec) {
doLast { doLast {
project.ext.upstreamExists = false project.ext.upstreamExists = false
output.toString('UTF-8').eachLine { output.toString('UTF-8').eachLine {
if (it.contains("remote \"upstream\"")) { if (it.contains("upstream")) {
project.ext.upstreamExists = true project.ext.upstreamExists = true
} }
} }