(command.CommandList children: [ (command.Simple blame_tok:<set> more_env:[] words:[{<set>} {<-e>}] redirects:[] do_fork:T) (command.Simple blame_tok: <export> more_env: [] words: [{<export>} {<Id.Lit_VarLike 'ASSUME_ALWAYS_YES='> (DQ <YES>)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <export> more_env: [] words: [{<export>} {<Id.Lit_VarLike 'PKG_DBDIR='> (DQ <'/tmp/pkg'>)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <export> more_env: [] words: [{<export>} {<Id.Lit_VarLike 'PERMISSIVE='> (DQ <YES>)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <export> more_env: [] words: [{<export>} {<Id.Lit_VarLike 'REPO_AUTOUPDATE='> (DQ <NO>)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <export> more_env: [] words: [{<export>} {<Id.Lit_VarLike 'PKGCMD='> (DQ <'/usr/sbin/pkg -d'>)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <export> more_env: [] words: [ {<export>} {<Id.Lit_VarLike 'PORTSDIR='> (DQ (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name PORTSDIR> var_name: PORTSDIR suffix_op: (suffix_op.Unary op: <Id.VTest_ColonHyphen _> arg_word: {<Id.Lit_Slash '/'> <usr> <Id.Lit_Slash '/'> <ports>} ) right: <Id.Right_DollarBrace '}'> ) ) } ] redirects: [] do_fork: T ) (command.ShAssignment left: <Id.Lit_VarLike '_DVD_PACKAGES='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_DVD_PACKAGES='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_DVD_PACKAGES='> name:_DVD_PACKAGES) op: assign_op.Equal rhs: { (DQ <'archivers/unzip\n'> <'devel/subversion\n'> <'devel/subversion-static\n'> <'emulators/linux_base-c6\n'> <'misc/freebsd-doc-all\n'> <'net/mpd5\n'> <'net/rsync\n'> <'ports-mgmt/pkg\n'> <'ports-mgmt/portmaster\n'> <'shells/bash\n'> <'shells/zsh\n'> <'security/sudo\n'> <'sysutils/screen\n'> <'sysutils/tmux\n'> <'www/firefox\n'> <'www/links\n'> <'x11-drivers/xf86-video-vmware\n'> <'x11/gnome3\n'> <'x11/kde4\n'> <'x11/xorg'> ) } ) ] redirects: [] ) (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.Simple blame_tok: <Id.Lit_LBracket '['> more_env: [] words: [ {<Id.Lit_LBracket '['>} {<Id.KW_Bang '!'>} {<-f>} {(${ Id.VSub_Name PORTSDIR) <'/Makefile'>} {<Id.Lit_RBracket ']'>} ] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <echo> more_env: [] words: [{<echo>} {(DQ <'*** '> (${ Id.VSub_Name PORTSDIR) <' is missing! ***'>)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <echo> more_env: [] words: [{<echo>} {(DQ <'*** Skipping pkg-stage.sh ***'>)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <echo> more_env: [] words: [{<echo>} {(DQ <'*** Unset NOPORTS to fix this ***'>)}] redirects: [] do_fork: T ) (command.ControlFlow keyword:<Id.ControlFlow_Exit exit> arg_word:{<0>}) ] spids: [96 112] ) ] else_action: [] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.Simple blame_tok: <Id.Lit_LBracket '['> more_env: [] words: [ {<Id.Lit_LBracket '['>} {<Id.KW_Bang '!'>} {<-x>} {<'/usr/local/sbin/pkg'>} {<Id.Lit_RBracket ']'>} ] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <'/etc/rc.d/ldconfig'> more_env: [] words: [{<'/etc/rc.d/ldconfig'>} {<restart>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <'/usr/bin/make'> more_env: [] words: [ {<'/usr/bin/make'>} {<-C>} {(${ Id.VSub_Name PORTSDIR) <'/ports-mgmt/pkg'>} {<install>} {<clean>} ] redirects: [] do_fork: T ) ] spids: [147 160] ) ] else_action: [] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.Simple blame_tok: <export> more_env: [] words: [{<export>} {<Id.Lit_VarLike 'DVD_DIR='> (DQ <'dvd/packages'>)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <export> more_env: [] words: [ {<export>} {<Id.Lit_VarLike 'PKG_ABI='> (CommandSub left_token: <Id.Left_DollarParen '$('> child: (command.Simple blame_tok: <pkg> more_env: [] words: [{<pkg>} {<config>} {<ABI>}] redirects: [] do_fork: T ) right: <Id.Eof_RParen _> ) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <export> more_env: [] words: [ {<export>} {<Id.Lit_VarLike 'PKG_ALTABI='> (CommandSub left_token: <Id.Left_DollarParen '$('> child: (command.Simple blame_tok: <pkg> more_env: [] words: [{<pkg>} {<config>} {<ALTABI>}] redirects: [ (Redir op: <Id.Redir_Great '2>'> loc: (redir_loc.Fd fd:2) arg: {<'/dev/null'>} ) ] do_fork: T ) right: <Id.Eof_RParen _> ) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <export> more_env: [] words: [ {<export>} {<Id.Lit_VarLike 'PKG_REPODIR='> (DQ (${ Id.VSub_Name DVD_DIR) <'/'> (${ Id.VSub_Name PKG_ABI)) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <'/bin/mkdir'> more_env: [] words: [{<'/bin/mkdir'>} {<-p>} {(${ Id.VSub_Name PKG_REPODIR)}] redirects: [] do_fork: T ) (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.Simple blame_tok: <Id.Lit_LBracket '['> more_env: [] words: [ {<Id.Lit_LBracket '['>} {<Id.KW_Bang '!'>} {<-z>} {(DQ (${ Id.VSub_Name PKG_ALTABI))} {<Id.Lit_RBracket ']'>} ] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Subshell left: <Id.Op_LParen _> child: (command.AndOr children: [ (command.Simple blame_tok: <cd> more_env: [] words: [{<cd>} {(${ Id.VSub_Name DVD_DIR)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <ln> more_env: [] words: [{<ln>} {<-s>} {(${ Id.VSub_Name PKG_ABI)} {(${ Id.VSub_Name PKG_ALTABI)}] redirects: [] do_fork: T ) ] ops: [<Id.Op_DAmp _>] ) right: <Id.Right_Subshell _> redirects: [] ) ] spids: [238 255] ) ] else_action: [] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.ForEach keyword: <Id.KW_For for> iter_names: [_P] iterable: (for_iter.Words words:[{(${ Id.VSub_Name _DVD_PACKAGES)}]) semi_tok: <Id.Op_Semi _> body: (command.DoGroup left: <Id.KW_Do do> children: [ (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.Simple blame_tok: <Id.Lit_LBracket '['> more_env: [] words: [ {<Id.Lit_LBracket '['>} {<-d>} {(DQ (${ Id.VSub_Name PORTSDIR) <'/'> (${ Id.VSub_Name _P))} {<Id.Lit_RBracket ']'>} ] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.ShAssignment left: <Id.Lit_VarLike 'DVD_PACKAGES='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'DVD_PACKAGES='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike 'DVD_PACKAGES='> name: DVD_PACKAGES ) op: assign_op.Equal rhs: {(DQ (${ Id.VSub_Name DVD_PACKAGES) <' '> (${ Id.VSub_Name _P))} ) ] redirects: [] ) ] spids: [303 322] ) ] else_kw: <Id.KW_Else else> else_action: [ (command.Simple blame_tok: <echo> more_env: [] words: [{<echo>} {(DQ <'*** Skipping nonexistent port: '> (${ Id.VSub_Name _P))}] redirects: [] do_fork: T ) ] fi_kw: <Id.KW_Fi fi> redirects: [] ) ] right: <Id.KW_Done done> ) redirects: [] ) (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.Simple blame_tok: <Id.Lit_LBracket '['> more_env: [] words: [ {<Id.Lit_LBracket '['>} {<-z>} {(DQ (${ Id.VSub_Name DVD_PACKAGES))} {<Id.Lit_RBracket ']'>} ] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <echo> more_env: [] words: [{<echo>} {(DQ <'*** The package list is empty.'>)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <echo> more_env: [] words: [{<echo>} {(DQ <'*** Something is very wrong.'>)}] redirects: [] do_fork: T ) (command.ControlFlow keyword:<Id.ControlFlow_Exit exit> arg_word:{<0>}) ] spids: [358 373] ) ] else_action: [] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.Simple blame_tok: <Id.Left_DollarBrace '${'> more_env: [] words: [{(${ Id.VSub_Name PKGCMD)} {<-vv>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <Id.Left_DollarBrace '${'> more_env: [] words: [{(${ Id.VSub_Name PKGCMD)} {<update>} {<-f>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <Id.Left_DollarBrace '${'> more_env: [] words: [ {(${ Id.VSub_Name PKGCMD)} {<fetch>} {<-o>} {(${ Id.VSub_Name PKG_REPODIR)} {<-d>} {(${ Id.VSub_Name DVD_PACKAGES)} ] redirects: [] do_fork: T ) (command.Simple blame_tok: <mkdir> more_env: [] words: [{<mkdir>} {<-p>} {(${ Id.VSub_Name PKG_REPODIR) <'/Latest'>}] redirects: [] do_fork: T ) (command.Subshell left: <Id.Op_LParen _> child: (command.AndOr children: [ (command.Simple blame_tok: <cd> more_env: [] words: [{<cd>} {(${ Id.VSub_Name PKG_REPODIR) <'/Latest'>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <ln> more_env: [] words: [ {<ln>} {<-s>} {<'../All/'> (CommandSub left_token: <Id.Left_DollarParen '$('> child: (command.Simple blame_tok: <Id.Left_DollarBrace '${'> more_env: [] words: [ {(${ Id.VSub_Name PKGCMD)} {<rquery>} {<Id.Lit_Other '%'> <n-> <Id.Lit_Other '%'> <v>} {<pkg>} ] redirects: [] do_fork: T ) right: <Id.Eof_RParen _> ) <.txz> } {<pkg.txz>} ] redirects: [] do_fork: T ) ] ops: [<Id.Op_DAmp _>] ) right: <Id.Right_Subshell _> redirects: [] ) (command.Simple blame_tok: <Id.Left_DollarBrace '${'> more_env: [] words: [{(${ Id.VSub_Name PKGCMD)} {<repo>} {(${ Id.VSub_Name PKG_REPODIR)}] redirects: [] do_fork: T ) (command.ControlFlow keyword:<Id.ControlFlow_Exit exit> arg_word:{<0>}) ] )