From 1fa886288e3e4d4d5b08e2fa0b3588b218faa5ae Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 18 Jan 2008 12:07:20 +0000 Subject: 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 --- meta/classes/autotools.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes') 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 -- cgit v1.2.3