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

2012-01-02 Thread nitin . a . kamble
From: Nitin A Kamble the .../usr/share/aclocal is empty for build from scratch. so avoid cp error if the directory is empty. Fixes this error, which is thrown before pseudo is built: | cp: cannot stat `/builddisk/build/build0/tmp/sysroots/x86_64-linux/usr/share/aclocal/*': No such file or direc

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

2012-01-03 Thread Khem Raj
On Mon, Jan 2, 2012 at 12:38 PM, 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 > +