summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.cz>2011-07-18 16:50:18 +0200
committerPetr Mladek <pmladek@suse.cz>2011-07-19 15:15:33 +0200
commita130a48525553e8266d30447cd301560f142bf40 (patch)
treee0d6869b1350929ad4d850a79fdfdad62cfa8319
parentaa124152490f0b09725ef5841b7d3ff22243a6d8 (diff)
distro-install: fix en-US-only installation
generate en-US file list when --with-distro="" sigh, we should set WITH_LANG=en-US when no language is selected; the empty string is pretty ugly; unforrunately, many makefile tests check for this empty variable Signed-off-by: Michael Meeks <michael.meeks@novell.com> Signed-off-by: Andreas Radke <a.radke@arcor.de> Signed-off-by: Fridrich Strba <fridrich.strba@bluewin.ch>
-rwxr-xr-xconfigure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 18f93d270834..65813cb18f42 100755
--- a/configure.in
+++ b/configure.in
@@ -7906,6 +7906,9 @@ for lang in $WITH_LANG ; do
done
# list with substituted ALL
WITH_LANG_LIST=`echo $WITH_LANG | sed "s/ALL/$ALL_LANGS/"`
+# this variable is used only by bin/distro-install-* helper scripts
+# they need a real list of languages
+test -z "$WITH_LANG_LIST" && WITH_LANG_LIST="en-US"
AC_SUBST(ALL_LANGS)
AC_SUBST(WITH_LANG)
AC_SUBST(WITH_LANG_LIST)