(CommandList children: [ (C {(set)} {(-e)}) (C {(set)} {(-x)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:VERSION) op: Equal rhs: { (CommandSubPart command_list: (CommandList children:[(C {(git)} {(describe)} {(--always)})]) left_token: <Left_Backtick "`"> spids: [21 27] ) (-linux-x86) } spids: [20] ) ] spids: [20] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:DEST) op: Equal rhs: {(dist/) ($ VSub_Name "$VERSION")} spids: [30] ) ] spids: [30] ) (C {(rm)} {(-rf)} {($ VSub_Name "$DEST")}) (C {(mkdir)} {(-p)} {($ VSub_Name "$DEST")}) (Pipeline children: [(C {(git)} {(archive)} {(HEAD)}) (C {(tar)} {(x)} {(-C)} {($ VSub_Name "$DEST")})] negated: False ) (C {(make)} {(-BC)} {($ VSub_Name "$DEST") (/generator/proto)}) (C {(cp)} {($ VSub_Name "$DEST") (/generator/nanopb_generator.py)} {($ VSub_Name "$DEST") (/generator/protoc-gen-nanopb.py)} ) (Subshell child: (CommandList children: [ (Sentence child: (C {(cd)} {($ VSub_Name "$DEST") (/generator)}) terminator: <Op_Semi ";"> ) (C {(bbfreeze)} {(nanopb_generator.py)} {(protoc-gen-nanopb.py)}) ] ) spids: [94 108] ) (C {(mv)} {($ VSub_Name "$DEST") (/generator/dist)} {($ VSub_Name "$DEST") (/generator-bin)}) (C {(rm)} {($ VSub_Name "$DEST") (/generator/protoc-gen-nanopb.py)}) (C {(cp)} { (CommandSubPart command_list: (CommandList children:[(C {(which)} {(protoc)})]) left_token: <Left_Backtick "`"> spids: [133 137] ) } {($ VSub_Name "$DEST") (/generator-bin/protoc.bin)} ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:LIBPROTOC) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(ldd)} { (CommandSubPart command_list: (CommandList children:[(C {(which)} {(protoc)})]) left_token: <Left_Backtick "`"> spids: [146 150] ) } ) (C {(grep)} {(-o)} {(SQ <"/.*libprotoc[^ ]*">)}) ] negated: False ) ] ) left_token: <Left_CommandSub "$("> spids: [143 161] ) } spids: [142] ) ] spids: [142] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:LIBPROTOBUF) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(ldd)} { (CommandSubPart command_list: (CommandList children:[(C {(which)} {(protoc)})]) left_token: <Left_Backtick "`"> spids: [167 171] ) } ) (C {(grep)} {(-o)} {(SQ <"/.*libprotobuf[^ ]*">)}) ] negated: False ) ] ) left_token: <Left_CommandSub "$("> spids: [164 182] ) } spids: [163] ) ] spids: [163] ) (C {(cp)} {($ VSub_Name "$LIBPROTOC")} {($ VSub_Name "$LIBPROTOBUF")} {($ VSub_Name "$DEST") (/generator-bin/)} ) (SimpleCommand words: [{(cat)}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {($ VSub_Name "$DEST") (/generator-bin/protoc)} spids: [195] ) (HereDoc op_id: Redir_DLess fd: -1 body: { (DQ ("#!/bin/bash\n") ("SCRIPTDIR=") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("(dirname ") (Right_DoubleQuote "\"") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (0) (Right_DoubleQuote "\"") (")\n") ("export LD_LIBRARY_PATH=") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("SCRIPTDIR\n") ("export PATH=") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("SCRIPTDIR:") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("PATH\n") ("exec ") (Right_DoubleQuote "\"") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (SCRIPTDIR/protoc.bin) (Right_DoubleQuote "\"") (" ") (Right_DoubleQuote "\"") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("@") (Right_DoubleQuote "\"") ("\n") ) } do_expansion: True here_end: EOF was_filled: True spids: [200] ) ] ) (C {(chmod)} {(Lit_Other "+") (x)} {($ VSub_Name "$DEST") (/generator-bin/protoc)}) (Subshell child: (CommandList children: [ (Sentence child:(C {(cd)} {(dist)}) terminator:<Op_Semi ";">) (C {(tar)} {(-czf)} {($ VSub_Name "$VERSION") (.tar.gz)} {($ VSub_Name "$VERSION")}) ] ) spids: [244 260] ) ] )