(command.CommandList children: [ (C {<Id.KW_Set set>} {<-o>} {<errexit>}) (C {<Id.KW_Set set>} {<-o>} {<nounset>}) (C {<Id.KW_Set set>} {<-o>} {<pipefail>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:KUBE_ROOT) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_DollarParen '$('> command_list: (command.CommandList children: [(C {<dirname>} {(DQ (${ Id.VSub_Name BASH_SOURCE))})] ) ) </..> } spids: [73] ) ] ) (C {<source>} {(DQ (${ Id.VSub_Name KUBE_ROOT) </hack/lib/init.sh>)}) (C {<readonly>} {<Id.Lit_VarLike 'branch='> (braced_var_sub token: <Id.VSub_Number 1> suffix_op: (suffix_op.Unary op_id: Id.VTest_ColonHyphen arg_word: { (braced_var_sub token: <Id.VSub_Name KUBE_VERIFY_GIT_BRANCH> suffix_op: (suffix_op.Unary op_id:Id.VTest_ColonHyphen arg_word:{<master>}) ) } ) ) } ) (command.ShFunction name: find_files body: (command.BraceGroup children: [ (C {<find>} {<.>} {<-not>} {(word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\('>)} {(word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\('>)} {<-wholename>} {(SQ <./output>)} {<-o>} {<-wholename>} {(SQ <./_output>)} {<-o>} {<-wholename>} {(SQ <./_gopath>)} {<-o>} {<-wholename>} {(SQ <./release>)} {<-o>} {<-wholename>} {(SQ <./target>)} {<-o>} {<-wholename>} {(SQ <'*/third_party/*'>)} {<-o>} {<-wholename>} {(SQ <'*/vendor/*'>)} {<-o>} {<-wholename>} {(SQ <'./staging/src/k8s.io/client-go/*vendor/*'>)} {<-o>} {<-wholename>} {(SQ <'./staging/src/k8s.io/client-go/pkg/*'>)} {(word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\)'>)} {<-prune>} {(word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\)'>)} {<-name>} {(SQ <.readonly>)} ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {(single_quoted left:<Id.Left_SingleQuoteC "$'"> tokens:[<Id.Char_OneChar '\\n'>])} spids: [235] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:conflicts) op: assign_op.Equal rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> command_list: (command.CommandList children: [ (command.Pipeline children: [ (C {<find_files>}) (C {<sed>} {(SQ <'s|/.readonly||'>)}) (command.WhileUntil keyword: <Id.KW_While while> cond: [ (command.Sentence child: (C {<read>} {<dir>}) terminator: <Id.Op_Semi _> ) ] body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dir) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Name dir> suffix_op: (suffix_op.Unary op_id: Id.VOp1_Pound arg_word: {<.> <Id.Lit_Slash />} ) ) } spids: [265] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.Simple words: [ {<kube> <Id.Lit_Other ':'> <Id.Lit_Other ':'> <util> <Id.Lit_Other ':'> <Id.Lit_Other ':'> <has_changes_against_upstream_branch> } {(DQ (${ Id.VSub_Name branch))} { (DQ <'^'> (${ Id.VSub_Name dir) <'/[^/]*'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) ) } { (SQ < '/\\.readonly$|/BUILD$|/zz_generated|/\\.generated\\.|\\.proto$|\\.pb\\.go$' > ) } ] redirects: [ (redir.Redir op: <Id.Redir_Great '>'> fd: -1 arg_word: {</dev/null>} ) ] ) terminator: <Id.Op_Semi _> ) ] action: [(C {<echo>} {(DQ (${ Id.VSub_Name dir))})] spids: [274 307] ) ] ) ] ) ) ] negated: F ) ] ) ) } ] ) } spids: [240] ) ] ) (C {<unset>} {<IFS>}) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} { (braced_var_sub token: <Id.VSub_Name conflicts> prefix_op: (Id.VSub_Pound) bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At) ) } {<-gt>} {<0>} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] action: [ (command.Simple words: [{<exec>}] redirects: [(redir.Redir op:<Id.Redir_GreatAnd '1>&'> fd:1 arg_word:{<2>})] ) (command.ForEach iter_name: dir iter_words: [ { (DQ (braced_var_sub token: <Id.VSub_Name conflicts> bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At) ) ) } ] do_arg_iter: F body: (command.DoGroup children: [ (C {<echo>} { (DQ <'Found '> (${ Id.VSub_Name dir) <'/.readonly, but files changed compared to '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (${ Id.VSub_Name branch) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) <' branch.'> ) } ) ] ) ) (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<1>}) ] spids: [330 349] ) ] else_action: [(C {<echo>} {(DQ <'Readonly packages verified.'>)})] ) ] )