(command.CommandList children: [ (C {(.)} {(./test-lib.sh)}) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:GIT_TEXTDOMAINDIR) op: Equal rhs: {(DQ ($ VSub_DollarName '$GIT_BUILD_DIR') (/po/build/locale))} ) ] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:GIT_PO_PATH) op: Equal rhs: {(DQ ($ VSub_DollarName '$GIT_BUILD_DIR') (/po))} ) ] ) (C {(export)} {(GIT_TEXTDOMAINDIR)} {(GIT_PO_PATH)}) (C {(.)} {(DQ ($ VSub_DollarName '$GIT_BUILD_DIR')) (/git-sh-i18n)}) (command.If arms: [ (if_arm cond: [ (command.AndOr ops: [Op_DAmp] children: [ (C {(test_have_prereq)} {(GETTEXT)}) (command.Pipeline children: [(C {(test_have_prereq)} {(GETTEXT_POISON)})] negated: T ) ] ) ] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:is_IS_locale) op: Equal rhs: { (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.Pipeline children: [ (command.SimpleCommand words: [{(locale)} {(-a)}] redirects: [ (redir.Redir op: <Redir_Great '2>'> fd: 2 arg_word: {(/dev/null)} ) ] ) (C {(sed)} {(-n)} { (SQ <'/^is_IS\\.[uU][tT][fF]-*8$/{\n'> <'\t\tp\n'> <'\t\tq\n'> <'\t}'> ) } ) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> ) } ) ] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:is_IS_iso_locale) op: Equal rhs: { (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.Pipeline children: [ (command.SimpleCommand words: [{(locale)} {(-a)}] redirects: [ (redir.Redir op: <Redir_Great '2>'> fd: 2 arg_word: {(/dev/null)} ) ] ) (C {(sed)} {(-n)} { (SQ <'/^is_IS\\.[iI][sS][oO]8859-*1$/{\n'> <'\t\tp\n'> <'\t\tq\n'> <'\t}'> ) } ) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> ) } ) ] ) (C {(export)} {(is_IS_locale)} {(is_IS_iso_locale)}) (command.If arms: [ (if_arm cond: [ (command.AndOr ops: [Op_DAmp] children: [ (C {(test)} {(-n)} {(DQ ($ VSub_DollarName '$is_IS_locale'))}) (C {(test)} {($ VSub_DollarName '$GIT_INTERNAL_GETTEXT_SH_SCHEME')} {(KW_Bang '!') (Lit_Other '=')} {(DQ (fallthrough))} ) ] ) ] action: [ (C {(test_set_prereq)} {(GETTEXT_LOCALE)}) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:GETTEXT_LOCALE) op: Equal rhs: {(1)} ) ] ) (C {(export)} {(GETTEXT_LOCALE)}) (C {(say)} { (DQ ("# lib-gettext: Found '") ($ VSub_DollarName '$is_IS_locale') ("' as an is_IS UTF-8 locale") ) } ) ] ) ] else_action: [(C {(say)} {(DQ ('# lib-gettext: No is_IS UTF-8 locale available'))})] ) (command.If arms: [ (if_arm cond: [ (command.AndOr ops: [Op_DAmp] children: [ (C {(test)} {(-n)} {(DQ ($ VSub_DollarName '$is_IS_iso_locale'))}) (C {(test)} {($ VSub_DollarName '$GIT_INTERNAL_GETTEXT_SH_SCHEME')} {(KW_Bang '!') (Lit_Other '=')} {(DQ (fallthrough))} ) ] ) ] action: [ (C {(test_set_prereq)} {(GETTEXT_ISO_LOCALE)}) (C {(say)} { (DQ ("# lib-gettext: Found '") ($ VSub_DollarName '$is_IS_iso_locale') ("' as an is_IS ISO-8859-1 locale") ) } ) ] ) ] else_action: [(C {(say)} {(DQ ('# lib-gettext: No is_IS ISO-8859-1 locale available'))})] ) ] ) ] ) ] )