(command.CommandList
  children: [
    (C {<.>} {<'./test-lib.sh'>})
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'GIT_TEXTDOMAINDIR='> name:GIT_TEXTDOMAINDIR)
          op: assign_op.Equal
          rhs: {(DQ ($ Id.VSub_DollarName GIT_BUILD_DIR) <'/po/build/locale'>)}
          spids: [21]
        )
      ]
      redirects: []
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'GIT_PO_PATH='> name:GIT_PO_PATH)
          op: assign_op.Equal
          rhs: {(DQ ($ Id.VSub_DollarName GIT_BUILD_DIR) <'/po'>)}
          spids: [27]
        )
      ]
      redirects: []
    )
    (C {<export>} {<GIT_TEXTDOMAINDIR>} {<GIT_PO_PATH>})
    (C {<.>} {(DQ ($ Id.VSub_DollarName GIT_BUILD_DIR)) <'/git-sh-i18n'>})
    (command.If
      arms: [
        (if_arm
          cond: 
            (condition.Shell
              commands: [
                (command.AndOr
                  ops: [Id.Op_DAmp]
                  children: [
                    (C {<test_have_prereq>} {<GETTEXT>})
                    (command.Pipeline
                      children: [(C {<test_have_prereq>} {<GETTEXT_POISON>})]
                      negated: T
                      stderr_indices: []
                    )
                  ]
                )
              ]
            )
          action: [
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'is_IS_locale='> name:is_IS_locale)
                  op: assign_op.Equal
                  rhs: 
                    {
                      (command_sub
                        left_token: <Id.Left_DollarParen '$('>
                        child: 
                          (command.Pipeline
                            children: [
                              (command.Simple
                                words: [{<locale>} {<-a>}]
                                redirects: [
                                  (redir
                                    op: <Id.Redir_Great '2>'>
                                    loc: (redir_loc.Fd fd:2)
                                    arg: {<'/dev/null'>}
                                  )
                                ]
                                more_env: []
                                do_fork: T
                              )
                              (C {<sed>} {<-n>} 
                                {
                                  (SQ <'/^is_IS\\.[uU][tT][fF]-*8$/{\n'> <'\t\tp\n'> <'\t\tq\n'> <'\t}'>)
                                }
                              )
                            ]
                            negated: F
                            stderr_indices: []
                          )
                        right: <Id.Eof_RParen _>
                      )
                    }
                  spids: [69]
                )
              ]
              redirects: []
            )
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: 
                    (sh_lhs_expr.Name
                      left: <Id.Lit_VarLike 'is_IS_iso_locale='>
                      name: is_IS_iso_locale
                    )
                  op: assign_op.Equal
                  rhs: 
                    {
                      (command_sub
                        left_token: <Id.Left_DollarParen '$('>
                        child: 
                          (command.Pipeline
                            children: [
                              (command.Simple
                                words: [{<locale>} {<-a>}]
                                redirects: [
                                  (redir
                                    op: <Id.Redir_Great '2>'>
                                    loc: (redir_loc.Fd fd:2)
                                    arg: {<'/dev/null'>}
                                  )
                                ]
                                more_env: []
                                do_fork: T
                              )
                              (C {<sed>} {<-n>} 
                                {
                                  (SQ <'/^is_IS\\.[iI][sS][oO]8859-*1$/{\n'> <'\t\tp\n'> <'\t\tq\n'> 
                                    <'\t}'>
                                  )
                                }
                              )
                            ]
                            negated: F
                            stderr_indices: []
                          )
                        right: <Id.Eof_RParen _>
                      )
                    }
                  spids: [98]
                )
              ]
              redirects: []
            )
            (C {<export>} {<is_IS_locale>} {<is_IS_iso_locale>})
            (command.If
              arms: [
                (if_arm
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.AndOr
                          ops: [Id.Op_DAmp]
                          children: [
                            (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName is_IS_locale))})
                            (C {<test>} {($ Id.VSub_DollarName GIT_INTERNAL_GETTEXT_SH_SCHEME)} 
                              {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {(DQ <fallthrough>)}
                            )
                          ]
                        )
                      ]
                    )
                  action: [
                    (C {<test_set_prereq>} {<GETTEXT_LOCALE>})
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: 
                            (sh_lhs_expr.Name
                              left: <Id.Lit_VarLike 'GETTEXT_LOCALE='>
                              name: GETTEXT_LOCALE
                            )
                          op: assign_op.Equal
                          rhs: {<1>}
                          spids: [182]
                        )
                      ]
                      redirects: []
                    )
                    (C {<export>} {<GETTEXT_LOCALE>})
                    (C {<say>} 
                      {
                        (DQ <'# lib-gettext: Found \''> ($ Id.VSub_DollarName is_IS_locale) 
                          <'\' as an is_IS UTF-8 locale'>
                        )
                      }
                    )
                  ]
                  spids: [140 165]
                )
              ]
              else_action: [(C {<say>} {(DQ <'# lib-gettext: No is_IS UTF-8 locale available'>)})]
              redirects: []
            )
            (command.If
              arms: [
                (if_arm
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.AndOr
                          ops: [Id.Op_DAmp]
                          children: [
                            (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName is_IS_iso_locale))})
                            (C {<test>} {($ Id.VSub_DollarName GIT_INTERNAL_GETTEXT_SH_SCHEME)} 
                              {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {(DQ <fallthrough>)}
                            )
                          ]
                        )
                      ]
                    )
                  action: [
                    (C {<test_set_prereq>} {<GETTEXT_ISO_LOCALE>})
                    (C {<say>} 
                      {
                        (DQ <'# lib-gettext: Found \''> ($ Id.VSub_DollarName is_IS_iso_locale) 
                          <'\' as an is_IS ISO-8859-1 locale'>
                        )
                      }
                    )
                  ]
                  spids: [214 239]
                )
              ]
              else_action: [(C {<say>} {(DQ <'# lib-gettext: No is_IS ISO-8859-1 locale available'>)})]
              redirects: []
            )
          ]
          spids: [48 62]
        )
      ]
      else_action: []
      redirects: []
    )
  ]
)