Fix "syndesis install" accidentally fails when Server URL contains "oc"
@@ -6,7 +6,7 @@ OC_MIN_VERSION=3.9.0
check_oc_version()
{
local minimum=${OC_MIN_VERSION}
- local test=$(oc version | grep oc | tr -d oc\ v | cut -f1 -d "+")
+ local test=$(oc version | grep "^oc" | tr -d oc\ v | cut -f1 -d "+")
echo $(compare_oc_version $test $minimum)
}
