On Fri, 2012-01-06 at 16:20 +0800, wenzong....@windriver.com wrote:
> +    if [[ -d ${S} && ${S} != ${WORKDIR} ]]; then
> +        if [[ ${S} =~ "/work-shared/gcc" ]]; then
> +            # Create temporary sources directory for gcc
> +            mkdir -p ${PF}/temp
> +            cp -r ${S} ${PF}
> +            cp -r ${S}/../temp/* ${PF}/temp
> +            cp -r ${WORKDIR}/temp/* ${PF}/temp
> +            tarbase=`pwd`

Special-casing gcc like this seems a bit lame.  Is that check really
needed?

Also, will the above code work with all shells?  It looks a bit
bash-specific to me.

p.



_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to