summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2010-10-24 00:41:41 +0000
committerAlexis Ballier <aballier@gentoo.org>2010-10-24 00:41:41 +0000
commitc0cb9fb188d579dfa21a3c279adf3ac7f466cf0e (patch)
tree1be5b6cdfe2cfe6a05c5a9bf0bc7bd4f44f6cf78 /eclass
parentMarking courier-0.64.1 ppc for bug 319785 (diff)
downloadgentoo-2-c0cb9fb188d579dfa21a3c279adf3ac7f466cf0e.tar.gz
gentoo-2-c0cb9fb188d579dfa21a3c279adf3ac7f466cf0e.tar.bz2
gentoo-2-c0cb9fb188d579dfa21a3c279adf3ac7f466cf0e.zip
Add default values for left/righthyphenmin in language.dat.lua too
Diffstat (limited to 'eclass')
-rw-r--r--eclass/texlive-module.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass
index fcbb01ef3166..266907bc201f 100644
--- a/eclass/texlive-module.eclass
+++ b/eclass/texlive-module.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.53 2010/10/23 23:51:58 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.54 2010/10/24 00:41:41 aballier Exp $
# @ECLASS: texlive-module.eclass
# @MAINTAINER:
@@ -219,6 +219,8 @@ texlive-module_make_language_lua_lines() {
local lefthyphenmin righthyphenmin synonyms name file file_patterns file_exceptions luaspecial
local dest="${S}/language.${PN}.dat.lua"
eval $@
+ [ -z "$lefthyphenmin" ] && lefthyphenmin="2"
+ [ -z "$righthyphenmin" ] && righthyphenmin="3"
einfo "Generating language.dat.lua entry for $@"
printf "\t['%s'] = {\n" "$name" >> "$dest"
printf "\t\tloader = '%s',\n" "$file" >> "$dest"