(CommandList children: [ (C {(set)} {(-o)} {(errexit)}) (C {(set)} {(-o)} {(pipefail)}) (C {(set)} {(-o)} {(nounset)}) (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolUnary op_id: BoolUnary_z child: { (DQ (BracedVarSub token: <VSub_Name KUBE_ROOT> suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(SQ )}) spids: [70 73] ) ) } ) ) terminator: <Op_Semi ";"> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:KUBE_ROOT) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [(C {(dirname)} {(DQ (${ VSub_Name BASH_SOURCE))})] ) left_token: <Left_CommandSub "$("> spids: [83 91] ) (/..) } spids: [82] ) ] spids: [82] ) ] spids: [-1 79] ) ] spids: [-1 94] ) (C {(source)} {(DQ (${ VSub_Name KUBE_ROOT) (/cluster/lib/logging.sh))}) (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (LogicalNot child: (BoolUnary op_id: BoolUnary_d child: {(DQ (${ VSub_Name KUBE_ROOT) (/examples))} ) ) ) terminator: <Op_Semi ";"> ) ] action: [ (C {(echo)} { (DQ (${ VSub_Name KUBE_ROOT) ( "/examples not detected. This script should be run from a location where the source dirs are available." ) ) } ) (C {(exit)} {(1)}) ] spids: [-1 125] ) ] spids: [-1 142] ) (C {(export)} {(Lit_VarLike "PATH=") (DQ (${ VSub_Name GOPATH) ("/bin:") (${ VSub_Name PATH))}) (If arms: [ (if_arm cond: [ (Sentence child: (Pipeline children:[(C {(which)} {(go-bindata)})] negated:True) terminator: <Op_Amp "&"> ) (Sentence child: (SimpleCommand redirects: [(Redir op_id:Redir_Great fd:-1 arg_word:{(/dev/null)} spids:[174])] ) terminator: <Op_Semi ";"> ) ] action: [(C {(echo)} {(DQ ("Cannot find go-bindata."))}) (C {(exit)} {(5)})] spids: [-1 179] ) ] spids: [-1 193] ) (C {(pushd)} {(DQ (${ VSub_Name KUBE_ROOT))}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:BINDATA_OUTPUT) op: Equal rhs: {(DQ (test/e2e/generated/bindata.go))} spids: [211] ) ] spids: [211] ) (C {(go-bindata)} {(-nometadata)} {(-o)} {(DQ (${ VSub_Name BINDATA_OUTPUT) (.tmp))} {(-pkg)} {(generated)} {(-ignore)} {(.jpg)} {(-ignore)} {(.png)} {(-ignore)} {(.md)} {(DQ (examples/...))} {(DQ (test/e2e/testing-manifests/...))} {(DQ (test/images/...))} {(DQ (test/fixtures/...))} ) (C {(gofmt)} {(-s)} {(-w)} {(DQ (${ VSub_Name BINDATA_OUTPUT) (.tmp))}) (If arms: [ (if_arm cond: [ (Sentence child: (Pipeline children: [ (C {(cmp)} {(-s)} {(DQ (${ VSub_Name BINDATA_OUTPUT) (.tmp))} {(DQ (${ VSub_Name BINDATA_OUTPUT))} ) ] negated: True ) terminator: <Op_Semi ";"> ) ] action: [ (SimpleCommand words: [{(cat)} {(DQ (${ VSub_Name BINDATA_OUTPUT) (.tmp))}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(DQ (${ VSub_Name BINDATA_OUTPUT))} spids: [330] ) ] ) (SimpleCommand words: [ {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (info)} { (DQ ("Generated bindata file : ") (${ VSub_Name BINDATA_OUTPUT) (" has ") (CommandSubPart command_list: (CommandList children: [(C {(wc)} {(-l)} {(${ VSub_Name BINDATA_OUTPUT)})] ) left_token: <Left_CommandSub "$("> spids: [356 364] ) (" lines of lovely automated artifacts") ) } ] more_env: [(env_pair name:V val:{(2)} spids:[339])] ) ] spids: [-1 318] ) ] else_action: [ (SimpleCommand words: [ {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (info)} {(DQ ("No changes in generated bindata file: ") (${ VSub_Name BINDATA_OUTPUT))} ] more_env: [(env_pair name:V val:{(2)} spids:[371])] ) ] spids: [368 389] ) (C {(rm)} {(-f)} {(DQ (${ VSub_Name BINDATA_OUTPUT) (.tmp))}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:BINDATA_OUTPUT) op: Equal rhs: {(DQ (pkg/generated/bindata.go))} spids: [407] ) ] spids: [407] ) (C {(go-bindata)} {(-nometadata)} {(-nocompress)} {(-o)} {(DQ (${ VSub_Name BINDATA_OUTPUT) (.tmp))} {(-pkg)} {(generated)} {(-ignore)} {(.jpg)} {(-ignore)} {(.png)} {(-ignore)} {(.md)} {(DQ (translations/...))} ) (C {(gofmt)} {(-s)} {(-w)} {(DQ (${ VSub_Name BINDATA_OUTPUT) (.tmp))}) (If arms: [ (if_arm cond: [ (Sentence child: (Pipeline children: [ (C {(cmp)} {(-s)} {(DQ (${ VSub_Name BINDATA_OUTPUT) (.tmp))} {(DQ (${ VSub_Name BINDATA_OUTPUT))} ) ] negated: True ) terminator: <Op_Semi ";"> ) ] action: [ (SimpleCommand words: [{(cat)} {(DQ (${ VSub_Name BINDATA_OUTPUT) (.tmp))}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(DQ (${ VSub_Name BINDATA_OUTPUT))} spids: [510] ) ] ) (SimpleCommand words: [ {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (info)} { (DQ ("Generated bindata file : ") (${ VSub_Name BINDATA_OUTPUT) (" has ") (CommandSubPart command_list: (CommandList children: [(C {(wc)} {(-l)} {(${ VSub_Name BINDATA_OUTPUT)})] ) left_token: <Left_CommandSub "$("> spids: [536 544] ) (" lines of lovely automated artifacts") ) } ] more_env: [(env_pair name:V val:{(2)} spids:[519])] ) ] spids: [-1 498] ) ] else_action: [ (SimpleCommand words: [ {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (info)} {(DQ ("No changes in generated bindata file: ") (${ VSub_Name BINDATA_OUTPUT))} ] more_env: [(env_pair name:V val:{(2)} spids:[551])] ) ] spids: [548 569] ) (C {(rm)} {(-f)} {(DQ (${ VSub_Name BINDATA_OUTPUT) (.tmp))}) (C {(popd)}) ] )