x11-wm/windowmaker: fix compilation with LINGUAS unset, bug #564694
authorBernard Cafarelli <voyageur@gentoo.org>
Mon, 2 Nov 2015 12:47:01 +0000 (13:47 +0100)
committerBernard Cafarelli <voyageur@gentoo.org>
Mon, 2 Nov 2015 12:47:18 +0000 (13:47 +0100)
Package-Manager: portage-2.2.23

x11-wm/windowmaker/windowmaker-0.95.7.ebuild
x11-wm/windowmaker/windowmaker-9999.ebuild

index 31ec9aa9c49a8e7cce4f9fd14bcccbcda6014fd9..2fbceba984507205c643c9850577105cee4a9d05 100644 (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
index 2e5a7783c7003b056e54cabd3947f770ffe34b2d..0753568bbb5d6d72416d887150a0d354e9fa0fcb 100644 (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