[OE-core] [PATCH 3/5] gcc-target: remove infodir

Martin Jansa martin.jansa at gmail.com
Wed Apr 2 17:20:15 UTC 2014


On Wed, Apr 02, 2014 at 10:06:16AM -0700, Khem Raj wrote:
> On Wed, Apr 2, 2014 at 5:25 AM, Martin Jansa <martin.jansa at gmail.com> wrote:
> > +       # Info dir listing isn't interesting at this point so remove it if it exists.
> > +       if [ -e "${D}${infodir}/dir" ]; then
> > +               rm -f ${D}${infodir}/dir
> > +       fi
> 
> why check if it exists when you are already using rm -f ?

Just because I was copying snippet from autotools.bbclass

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140402/30fc1767/attachment-0002.sig>


More information about the Openembedded-core mailing list