From: Philipp Zabel Date: Tue, 27 Dec 2005 10:47:56 +0000 (+0000) Subject: autotools.bbclass: use cp -f to install files to staging X-Git-Tag: Release-2010-05/1~9453^2~2850 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=348f9cb83aa7cca8c2359da7f214bd97f05f9b2e;p=openembedded.git autotools.bbclass: use cp -f to install files to staging --- 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} }