Fix bwc checkout upstream remote check
This commit is contained in:
parent
e7a8e69900
commit
a26321e03b
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue