(CommandList children: [ (If arms: [ (if_arm cond: [(C {(Lit_Other '[')} {($ VSub_Pound '$#')} {(-lt)} {(2)} {(Lit_Other ']')})] action: [ (SimpleCommand words: [{(echo)} {(DQ ('usage: more/tweak.sh ARCH STAGE COMMAND...'))}] redirects: [(Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(1)})] ) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] spids: [16777215 20] ) ] spids: [16777215 37] ) (AndOr ops: [Op_DAmp Op_DAmp] children: [ (C {(Lit_Other '[')} {(KW_Bang '!')} {(-e)} {(DQ ($ VSub_Number '$2')) (.sh)} {(Lit_Other ']')}) (SimpleCommand words: [{(echo)} {(DQ ('No stage ') ($ VSub_Number '$2'))}] redirects: [(Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})] ) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:ARCH) op: Equal rhs: {(DQ ($ VSub_Number '$1'))} spids: [71] ) ] spids: [71] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:STAGE) op: Equal rhs: {(DQ ($ VSub_Number '$2'))} spids: [76] ) ] spids: [76] ) (AndOr ops: [Op_DAmp] children: [ (C {(Lit_Other '[')} {(DQ ($ VSub_Name '$STAGE'))} {(Lit_Other '=') (Lit_Other '=')} {(DQ (native-compiler))} {(Lit_Other ']')} ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:STUFF) op: Equal rhs: {(SQ <'STAGE_DIR=$STAGE_DIR/usr HOST_ARCH=$ARCH'>)} spids: [99] ) ] spids: [99] ) ] ) (C {(shift)}) (C {(shift)}) (AndOr ops: [Op_DPipe] children: [ (SimpleCommand words: [ {(more/test.sh)} {(DQ ($ VSub_Name '$ARCH'))} {($ VSub_Name '$STUFF')} {(DQ ($ VSub_At '$@'))} {(DQ (' && create_stage_tarball'))} ] more_env: [ (env_pair name:NO_CLEANUP val:{(temp)} spids:[109]) (env_pair name:STAGE_NAME val:{(DQ ($ VSub_Name '$STAGE'))} spids:[112]) ] ) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] ) (SimpleCommand words: [{(./build.sh)} {(DQ ($ VSub_Name '$ARCH'))} {(DQ ($ VSub_Name '$STAGE'))}] more_env: [ (env_pair name:NO_CLEANUP val:{(temp)} spids:[141]) (env_pair name:AFTER val:{(DQ ($ VSub_Name '$STAGE'))} spids:[144]) ] ) ] )