1. James Mills
  2. tools

Commits

jamesmills  committed 138a4ab

- ``genlocale``: A new tool specifically for CRUX post-installations to
generate all the locales for a given language/locale.

  • Participants
  • Parent commits 1a11b4b
  • Branches default

Comments (0)

Files changed (1)

File genlocale

View file
+#!/bin/sh
+
+locale=${1}
+
+/usr/bin/localedef -i ${locale} -f ISO-8859-1 ${locale}
+/usr/bin/localedef -i ${locale} -f ISO-8859-1 ${locale}.ISO-8859-1
+/usr/bin/localedef -i ${locale} -f UTF-8 ${locale}.utf8