diff options
author | Philipp Zabel <philipp.zabel@gmail.com> | 2005-12-27 10:47:56 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-12-27 10:47:56 +0000 |
commit | 348f9cb83aa7cca8c2359da7f214bd97f05f9b2e (patch) | |
tree | 09f10e398bc7671478662c58bd34e9daaf26785d | |
parent | 89679b98e28d3400e6ceddc1c6bac1da671071fb (diff) |
autotools.bbclass: use cp -f to install files to staging
-rw-r--r-- | classes/autotools.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass index 49d99614ed..399cca5699 100644 --- a/classes/autotools.bbclass +++ b/classes/autotools.bbclass @@ -159,14 +159,14 @@ autotools_stage_all() { mkdir -p ${STAGE_TEMP} oe_runmake DESTDIR="${STAGE_TEMP}" install if [ -d ${STAGE_TEMP}/${includedir} ]; then - cp -pPR ${STAGE_TEMP}/${includedir}/* ${STAGING_INCDIR} + cp -fpPR ${STAGE_TEMP}/${includedir}/* ${STAGING_INCDIR} fi if [ -d ${STAGE_TEMP}/${libdir} ] then for i in ${STAGE_TEMP}/${libdir}/*.la do if [ ! -f "$i" ]; then - cp -pPR ${STAGE_TEMP}/${libdir}/* ${STAGING_LIBDIR} + cp -fpPR ${STAGE_TEMP}/${libdir}/* ${STAGING_LIBDIR} break fi oe_libinstall -a -so $(basename $i .la) ${STAGING_LIBDIR} @@ -174,7 +174,7 @@ autotools_stage_all() { fi if [ -d ${STAGE_TEMP}/${datadir}/aclocal ]; then install -d ${STAGING_DATADIR}/aclocal - cp -pPR ${STAGE_TEMP}/${datadir}/aclocal/* ${STAGING_DATADIR}/aclocal + cp -fpPR ${STAGE_TEMP}/${datadir}/aclocal/* ${STAGING_DATADIR}/aclocal fi rm -rf ${STAGE_TEMP} } |