[OE-core] [PATCH v2 05/15] autotools.bbclass: fix cp error for empty dir

Khem Raj raj.khem at gmail.com
Wed Jan 4 00:41:47 UTC 2012


On Mon, Jan 2, 2012 at 12:38 PM,  <nitin.a.kamble at intel.com> wrote:
> -                               cp ${STAGING_DATADIR}/aclocal/* ${B}/aclocal-copy/
> +                               # for scratch build this directory can be empty
> +                               # so avoid cp's no files to copy error
> +                               cp -r ${STAGING_DATADIR}/aclocal/. ${B}/aclocal-copy/

may be you should check for existence of directory then.


More information about the Openembedded-core mailing list