Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51153 - Multiple entries in LINGUAS variable results in syntax error during merge
Summary: Multiple entries in LINGUAS variable results in syntax error during merge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-15 13:24 UTC by Warwick Harvey
Modified: 2004-05-15 13:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Warwick Harvey 2004-05-15 13:24:24 UTC
There's a problem on line 69 of kde-base/kde-i18n-3.2.2.ebuild that causes a syntax error when doing a merge if the user has more than one country/language listed in their LINGUAS environment variable (seems to be a problem in earlier versions too, but I only noticed it this time).

The problem is just a lack of quotes around the ${LINGUAS} variable reference; i.e. it should be:

    if [ -z "${LINGUAS}" ]; then


Reproducible: Always
Steps to Reproduce:
1. Set LINGUAS to (say) "en_GB cs".
2. emerge kde-i18n

Actual Results:  
Prints:
[...]
>>> Unpacking source...
/usr/sbin/euild.sh: line 69: [: gb: binary operator expected
>>> Unpacking kde-i18n-cs-3.2.2.tar.bz2 to /var/tmp/portage/kde-i18n-3.2.2/work
[...]

Package seemed to install OK anyway.

Expected Results:  
Same without the error message
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2004-05-15 13:28:36 UTC
just fixed it in portage - thanks for the report.