diff options
author | Chris Lumens <clumens@redhat.com> | 2005-04-13 17:34:08 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2005-04-13 17:34:08 +0000 |
commit | 2e1d6920edb7b4e226c691fca61c35b2961e0b45 (patch) | |
tree | af9b5525c09f90ef18bed94677afd324bdf74814 /loader2 | |
parent | b13598a8e4ffeba4deeaa15453cf23cb37238b31 (diff) | |
download | anaconda-2e1d6920edb7b4e226c691fca61c35b2961e0b45.tar.gz anaconda-2e1d6920edb7b4e226c691fca61c35b2961e0b45.tar.xz anaconda-2e1d6920edb7b4e226c691fca61c35b2961e0b45.zip |
Support setting the system's runtime language even if it's not supported
by a translation in anaconda. Set LC_COLLATE=C in the loader.
Diffstat (limited to 'loader2')
-rw-r--r-- | loader2/loader.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/loader2/loader.c b/loader2/loader.c index 7a642934b..2212608d2 100644 --- a/loader2/loader.c +++ b/loader2/loader.c @@ -1147,6 +1147,9 @@ int main(int argc, char ** argv) { { 0, 0, 0, 0, 0 } }; + /* Make sure sort order is right. */ + setenv ("LC_COLLATE", "C", 1); + /* JKFIXME: very very bad hack */ secondStageModuleLocation = malloc(sizeof(struct moduleBallLocation)); secondStageModuleLocation->path = strdup("/mnt/runtime/modules/modules.cgz"); |