diff --git a/glib/libcharset/localcharset.c b/glib/libcharset/localcharset.c index 0c4d544be..ab3a2678d 100644 --- a/glib/libcharset/localcharset.c +++ b/glib/libcharset/localcharset.c @@ -117,11 +117,7 @@ _g_locale_get_charset_aliases (void) const char *base = "charset.alias"; char *file_name; - /* Make it possible to override the charset.alias location. This is - necessary for running the testsuite before "make install". */ - dir = getenv ("CHARSETALIASDIR"); - if (dir == NULL || dir[0] == '\0') - dir = relocate (GLIB_CHARSETALIAS_DIR); + dir = relocate (GLIB_CHARSETALIAS_DIR); /* Concatenate dir and base into freshly allocated file_name. */ {