summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/init.cfg
blob: 40ee41f38b28bcab6fb712aec14a033417643a99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
test -f "./init-env" \
  && . "./init-env"

prepare_locale_ ()
{
  # Solaris 11 doesn't strip the CODESET part from the locale name,
  # when looking for a message catalog.  Create a directory link with
  # CODESET, to work around this.
  if test "$1" != "$2" && test "$GLIBC2" = no; then
    case "$host_os" in
      solaris2.11)
        cp -R "$1" "$2"
        ;;
    esac
  fi
}