[oe-commits] [openembedded-core] 02/02: scripts/oe-buildenv-internal: Fix regression in BB_ENV_EXTRAWHITE setting

git at git.openembedded.org git at git.openembedded.org
Tue Apr 5 14:00:32 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 773e9ef9bacbf1e63fe758915d599d11762b8c1f
Author: Otavio Salvador <otavio at ossystems.com.br>
AuthorDate: Mon Apr 4 16:16:19 2016 -0300

    scripts/oe-buildenv-internal: Fix regression in BB_ENV_EXTRAWHITE setting
    
    The commit OE-Core:ada4639 (oe-buildenv-internal: simplify derivation
    of BB_ENV_EXTRAWHITE) changed the format of BB_ENV_EXTRAWHITE
    variable to:
    
    ,----
    | BB_ENV_EXTRAWHITE='ALL_PROXY
    | BB_NO_NETWORK
    | BB_NUMBER_THREADS
    | ...
    | '
    `----
    
    Instead of:
    
    ,----
    | BB_ENV_EXTRAWHITE='ALL_PROXY BB_NO_NETWORK BB_NUMBER_THREADS...'
    `----
    
    The old format allow for external script parsing easier and there is
    no need to change the format as it has no benefit from usage
    perspective.
    
    Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 scripts/oe-buildenv-internal | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/oe-buildenv-internal b/scripts/oe-buildenv-internal
index be212f2..e04db03 100755
--- a/scripts/oe-buildenv-internal
+++ b/scripts/oe-buildenv-internal
@@ -116,6 +116,6 @@ all_proxy NO_PROXY no_proxy SSH_AGENT_PID SSH_AUTH_SOCK BB_SRCREV_POLICY \
 SDKMACHINE BB_NUMBER_THREADS BB_NO_NETWORK PARALLEL_MAKE GIT_PROXY_COMMAND \
 SOCKS5_PASSWD SOCKS5_USER SCREENDIR STAMPS_DIR"
 
-BB_ENV_EXTRAWHITE=$(echo $BB_ENV_EXTRAWHITE $BB_ENV_EXTRAWHITE_OE | sed 's/ /\n/g' | LC_ALL=C sort --unique)
+BB_ENV_EXTRAWHITE="$(echo $BB_ENV_EXTRAWHITE $BB_ENV_EXTRAWHITE_OE | tr ' ' '\n' | LC_ALL=C sort --unique | tr '\n' ' ')"
 
 export BB_ENV_EXTRAWHITE

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list