summaryrefslogtreecommitdiff
path: root/Build/source/utils/xindy/xindy-2.5.1-PATCHES/patch-01-xindy-needs-language
blob: 8ce59c764a0d7ac10b31baba5bcdf2a654c65a0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -ur -N -x Makefile.in -x autom4te.cache xindy-2.5.1.orig/user-commands/xindy.in xindy-2.5.1/user-commands/xindy.in
--- xindy-2.5.1.orig/user-commands/xindy.in	2014-05-11 15:45:44.000000000 +0200
+++ xindy-2.5.1/user-commands/xindy.in	2014-10-24 10:38:47.000000000 +0200
@@ -732,6 +732,9 @@
     #
     # FIXME: I didn't see all languages. What's on with gypsy and
     # hausa?
+    if ( !$language ) {
+        $language = "general";
+    }
     if ( $language ) {
 	# If there is no language directory, this might be a variant.
 	# Language names and variants are separated by hyphens. The