(List (Com {[LIT_CHARS set]} {[LIT_CHARS -o]} {[LIT_CHARS errexit]} ) (Com {[LIT_CHARS set]} {[LIT_CHARS -o]} {[LIT_CHARS nounset]} ) (Com {[LIT_CHARS set]} {[LIT_CHARS -o]} {[LIT_CHARS pipefail]} ) (= scope= flags=0 words=[] bindings=[('KUBE_ROOT', {[ComSub (Com {[LIT_CHARS dirname]} {[DQ [VarSub BASH_SOURCE]]})] [LIT_CHARS /..]})]) (Com {[LIT_CHARS source]} {[DQ [VarSub KUBE_ROOT][LIT_CHARS /hack/lib/init.sh]]} ) (= scope= flags=0 words=[] bindings=[('git_upstream', {[ComSub (Com {[LIT_CHARS kube] [LIT_OTHER ":"] [LIT_OTHER ":"] [LIT_CHARS util] [LIT_OTHER ":"] [LIT_OTHER ":"] [LIT_CHARS git_upstream_remote_name]})]})]) (Com {[LIT_OTHER ":"]} {[VarSub git_upstream test_op=VS_TEST_COLON_EQUALS {[DQ [LIT_CHARS upstream]]}]} ) (Com {[LIT_CHARS kube] [LIT_OTHER ":"] [LIT_OTHER ":"] [LIT_CHARS golang] [LIT_OTHER ":"] [LIT_OTHER ":"] [LIT_CHARS setup_env]} ) (Com {[LIT_CHARS make]} {[LIT_CHARS -C]} {[DQ [VarSub KUBE_ROOT]]} {[LIT_VAR_LIKE "WHAT="] [LIT_CHARS cmd/mungedocs] =} ) (Com {[LIT_CHARS kube] [LIT_OTHER ":"] [LIT_OTHER ":"] [LIT_CHARS util] [LIT_OTHER ":"] [LIT_OTHER ":"] [LIT_CHARS ensure-temp-dir]} ) (Com {[LIT_CHARS kube] [LIT_OTHER ":"] [LIT_OTHER ":"] [LIT_CHARS util] [LIT_OTHER ":"] [LIT_OTHER ":"] [LIT_CHARS gen-analytics]} {[DQ [VarSub KUBE_ROOT]]} ) (= scope= flags=0 words=[] bindings=[('mungedocs', {[ComSub (Com {[LIT_CHARS kube] [LIT_OTHER ":"] [LIT_OTHER ":"] [LIT_CHARS util] [LIT_OTHER ":"] [LIT_OTHER ":"] [LIT_CHARS find-binary]} {[DQ [LIT_CHARS mungedocs]]})]})]) (AndOr OP_AND_IF (Com {[DQ [VarSub mungedocs]]} {[DQ [LIT_CHARS "--upstream="][VarSub git_upstream]]} {[DQ [LIT_CHARS "--root-dir="][VarSub KUBE_ROOT][LIT_CHARS /docs/]]} ) (AndOr OP_OR_IF (= scope= flags=0 words=[] bindings=[('ret', {[LIT_CHARS 0]})]) (= scope= flags=0 words=[] bindings=[('ret', {[VarSub ?]})]) ) ) (If (DBracket {B2 BINARY_INT_EQ {[VarSub ret]} {[LIT_CHARS 1]}}) (List (Com {[LIT_CHARS echo]} {[DQ [VarSub KUBE_ROOT][LIT_CHARS "/docs/ requires manual changes. See preceding errors."]]} ) (Com {[LIT_CHARS exit]} {[LIT_CHARS 1]} ) ) (DBracket {B2 BINARY_INT_GT {[VarSub ret]} {[LIT_CHARS 1]}}) (List (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "Error running mungedocs."]]} ) (Com {[LIT_CHARS exit]} {[LIT_CHARS 1]} ) ) ) (AndOr OP_AND_IF (Com {[DQ [VarSub mungedocs]]} {[DQ [LIT_CHARS "--upstream="][VarSub git_upstream]]} {[DQ [LIT_CHARS "--root-dir="][VarSub KUBE_ROOT][LIT_CHARS /examples/]]} ) (AndOr OP_OR_IF (= scope= flags=0 words=[] bindings=[('ret', {[LIT_CHARS 0]})]) (= scope= flags=0 words=[] bindings=[('ret', {[VarSub ?]})]) ) ) (If (DBracket {B2 BINARY_INT_EQ {[VarSub ret]} {[LIT_CHARS 1]}}) (List (Com {[LIT_CHARS echo]} {[DQ [VarSub KUBE_ROOT][LIT_CHARS "/examples/ requires manual changes. See preceding errors."]]} ) (Com {[LIT_CHARS exit]} {[LIT_CHARS 1]} ) ) (DBracket {B2 BINARY_INT_GT {[VarSub ret]} {[LIT_CHARS 1]}}) (List (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "Error running mungedocs."]]} ) (Com {[LIT_CHARS exit]} {[LIT_CHARS 1]} ) ) ) (AndOr OP_AND_IF (Com {[DQ [VarSub mungedocs]]} {[DQ [LIT_CHARS "--upstream="][VarSub git_upstream]]} {[DQ [LIT_CHARS "--skip-munges=analytics"]]} {[DQ [LIT_CHARS --norecurse]]} {[DQ [LIT_CHARS "--root-dir="][VarSub KUBE_ROOT][LIT_CHARS /]]} ) (AndOr OP_OR_IF (= scope= flags=0 words=[] bindings=[('ret', {[LIT_CHARS 0]})]) (= scope= flags=0 words=[] bindings=[('ret', {[VarSub ?]})]) ) ) (If (DBracket {B2 BINARY_INT_EQ {[VarSub ret]} {[LIT_CHARS 1]}}) (List (Com {[LIT_CHARS echo]} {[DQ [VarSub KUBE_ROOT][LIT_CHARS "/ requires manual changes. See preceding errors."]]} ) (Com {[LIT_CHARS exit]} {[LIT_CHARS 1]} ) ) (DBracket {B2 BINARY_INT_GT {[VarSub ret]} {[LIT_CHARS 1]}}) (List (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "Error running mungedocs."]]} ) (Com {[LIT_CHARS exit]} {[LIT_CHARS 1]} ) ) ) )