summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-01-18 12:07:20 +0000
committerRichard Purdie <richard@openedhand.com>2008-01-18 12:07:20 +0000
commit1fa886288e3e4d4d5b08e2fa0b3588b218faa5ae (patch)
treeb963ee118817eb02c2cd1bb49eecc7616a305a93
parent6ddbbdfaaf41f1c9d94b610e29ce92e6751ee3e5 (diff)
downloadopenembedded-core-1fa886288e3e4d4d5b08e2fa0b3588b218faa5ae.tar.gz
openembedded-core-1fa886288e3e4d4d5b08e2fa0b3588b218faa5ae.tar.bz2
openembedded-core-1fa886288e3e4d4d5b08e2fa0b3588b218faa5ae.tar.xz
openembedded-core-1fa886288e3e4d4d5b08e2fa0b3588b218faa5ae.zip
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
-rw-r--r--meta/classes/autotools.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 8e4fba940..98fa0dd6a 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