From: Richard Purdie Date: Fri, 18 Jan 2008 12:07:20 +0000 (+0000) Subject: autotools.bbclass: Fix autostaging function to correctly handle cases where only... X-Git-Tag: 2011-1~9912 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=1fa886288e3e4d4d5b08e2fa0b3588b218faa5ae;p=openembedded-core.git autotools.bbclass: Fix autostaging function to correctly handle cases where only subdirectories of files exist git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3517 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index 8e4fba9400..98fa0dd6a6 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass @@ -170,7 +170,7 @@ autotools_stage_all() { mkdir -p ${STAGE_TEMP} oe_runmake DESTDIR="${STAGE_TEMP}" install if [ -d ${STAGE_TEMP}/${includedir} ]; then - cp -fpPR ${STAGE_TEMP}/${includedir}/* ${STAGING_INCDIR} + cp -fpPR ${STAGE_TEMP}/${includedir}/ ${STAGING_INCDIR} fi if [ -d ${STAGE_TEMP}/${libdir} ] then