(CommandList children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:SRC_DIR) op: Equal rhs: { (CommandSubPart command_list: (CommandList children:[(C {(pwd)})]) left_token: <Left_CommandSub "$("> spids: [5 7] ) } spids: [4] ) ] spids: [4] ) (C {(echo)} {(DQ ("Removing old Apache Felix artifacts. This may take a while..."))}) (C {(rm)} {(-rf)} {($ VSub_Name "$SRC_DIR") (/work/overlay/felix/felix_installed)}) (C {(mkdir)} {(-p)} {($ VSub_Name "$SRC_DIR") (/work/overlay/felix/felix_installed/opt/felix)}) (C {(mkdir)} {(-p)} {($ VSub_Name "$SRC_DIR") (/work/overlay/felix/felix_installed/bin)}) (C {(cd)} {($ VSub_Name "$SRC_DIR") (/work/overlay/felix)}) (C {(cd)} { (CommandSubPart command_list: (CommandList children:[(C {(ls)} {(-d)} {(felix-) (Lit_Other "*")})]) left_token: <Left_CommandSub "$("> spids: [45 52] ) } ) (SimpleCommand words: [{(cat)}] redirects: [ (HereDoc op_id: Redir_DLess fd: -1 body: {(DQ ("#!/bin/sh\n") ("\n") ("cd /opt/felix\n") ("java -jar bin/felix.jar\n") ("\n"))} do_expansion: True here_end: CEOF was_filled: True spids: [57] ) (Redir op_id:Redir_Great fd:-1 arg_word:{(bin/felix-start.sh)} spids:[61]) ] ) (C {(chmod)} {(Lit_Other "+") (rx)} {(bin/felix-start.sh)}) (C {(cp)} {(-r)} {(Lit_Other "*")} {($ VSub_Name "$SRC_DIR") (/work/overlay/felix/felix_installed/opt/felix)} ) (C {(cd)} {($ VSub_Name "$SRC_DIR") (/work/overlay/felix/felix_installed)}) (C {(ln)} {(-s)} {(../opt/felix/bin/felix-start.sh)} {(bin/felix-start)}) (C {(cp)} {(-r)} {($ VSub_Name "$SRC_DIR") (/work/overlay/felix/felix_installed/) (Lit_Other "*")} {($ VSub_Name "$SRC_DIR") (/work/src/minimal_overlay)} ) (C {(echo)} {(DQ ("Apache Felix has been installed."))}) (C {(cd)} {($ VSub_Name "$SRC_DIR")}) ] )