[Angstrom-devel] [oe-core-setup-scripts] oebb.sh: PATH can grow on multiple call & does ignores local changes

Khem Raj raj.khem at gmail.com
Fri Oct 14 00:38:51 CEST 2011


On Thu, Oct 13, 2011 at 2:30 PM, Andreas Müller <schnitzeltony at gmx.de> wrote:
>
> Signed-off-by: Andreas Müller <schnitzeltony at gmx.de>
> ---
>  oebb.sh |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/oebb.sh b/oebb.sh
> index f7247b8..4da3181 100755
> --- a/oebb.sh
> +++ b/oebb.sh
> @@ -97,9 +97,9 @@ else
>     #--------------------------------------------------------------------------
>     # Include up-to-date bitbake in our PATH.
>     #--------------------------------------------------------------------------
> -    export PATH=${OE_SOURCE_DIR}/openembedded-core/scripts:${OE_SOURCE_DIR}/bitbake/bin:${PATH}
> -
> -    echo "export PATH=\"${PATH}\"" >> ${OE_ENV_FILE}
> +    OE_PATH=${OE_SOURCE_DIR}/openembedded-core/scripts:${OE_SOURCE_DIR}/bitbake/bin
> +    echo 'export PATH=${PATH}:'$OE_PATH >> ${OE_ENV_FILE}
> +    export PATH=$OE_PATH:${PATH}

the line above will again explode the path on mulitple calls isnt it ?

>
>     #--------------------------------------------------------------------------
>     # Make sure Bitbake doesn't filter out the following variables from our
> --
> 1.7.4.4
>
>
> _______________________________________________
> Angstrom-distro-devel mailing list
> Angstrom-distro-devel at linuxtogo.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel
>



More information about the Angstrom-distro-devel mailing list