x11-wm/windowmaker: fix compilation with LINGUAS unset, bug #564694

Package-Manager: portage-2.2.23
This commit is contained in:
Bernard Cafarelli
2015-11-02 13:47:01 +01:00
parent 8c7ddbf5d8
commit 1e4ad4895e
2 changed files with 2 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ src_configure() {
myconf="${myconf} $(use_enable modelock) $(use_enable xrandr randr) $(use_enable xinerama)"
if use nls; then
[[ -z $LINGUAS ]] && export LINGUAS="`ls po/*.po | sed 's:po/\(.*\)\.po$:\1:'`"
[[ -z $LINGUAS ]] && export LINGUAS="$(ls po/*.po | sed 's:po/\(.*\)\.po$:\1:' | xargs)"
else
myconf="${myconf} --disable-locale"
fi

View File

@@ -62,7 +62,7 @@ src_configure() {
myconf="${myconf} $(use_enable modelock) $(use_enable xrandr randr) $(use_enable xinerama)"
if use nls; then
[[ -z $LINGUAS ]] && export LINGUAS="`ls po/*.po | sed 's:po/\(.*\)\.po$:\1:'`"
[[ -z $LINGUAS ]] && export LINGUAS="$(ls po/*.po | sed 's:po/\(.*\)\.po$:\1:' | xargs)"
else
myconf="${myconf} --disable-locale"
fi