summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/share/gen_locales.pl2
-rwxr-xr-xperl-install/share/gen_locales.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/share/gen_locales.pl b/perl-install/share/gen_locales.pl
index 4928ff8c8..fcc03f0c9 100644
--- a/perl-install/share/gen_locales.pl
+++ b/perl-install/share/gen_locales.pl
@@ -7,6 +7,6 @@ foreach (lang::list_langs()) {
if (my $exist = readlink "usr/share/locale/$_") {
die "symlink $_ already exist and is $exist\n";
} else {
- symlink "UTF-8", "usr/share/locale/$_" or die "can't create symlink $_";
+ symlink "en_US.UTF-8", "usr/share/locale/$_" or die "can't create symlink $_";
}
}
diff --git a/perl-install/share/gen_locales.sh b/perl-install/share/gen_locales.sh
index ecc13e809..6d1ed5fe1 100755
--- a/perl-install/share/gen_locales.sh
+++ b/perl-install/share/gen_locales.sh
@@ -5,7 +5,7 @@ tar xfj ../locales-skeleton.tar.bz2
# locale utf-8
for i in LC_ADDRESS LC_COLLATE LC_CTYPE LC_IDENTIFICATION LC_MEASUREMENT LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE LC_TIME LC_MESSAGES/SYS_LC_MESSAGES ; do
- install -D -m 644 /usr/share/locale/UTF-8/$i usr/share/locale/UTF-8/$i
+ install -D -m 644 /usr/share/locale/UTF-8/$i usr/share/locale/en_US.UTF-8/$i
done
perl -I../.. ../gen_locales.pl || exit 1