diff options
Diffstat (limited to 'gettext-tools/tests/init.cfg')
-rw-r--r-- | gettext-tools/tests/init.cfg | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gettext-tools/tests/init.cfg b/gettext-tools/tests/init.cfg new file mode 100644 index 0000000..40ee41f --- /dev/null +++ b/gettext-tools/tests/init.cfg @@ -0,0 +1,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 +} |