From 348f9cb83aa7cca8c2359da7f214bd97f05f9b2e Mon Sep 17 00:00:00 2001 From: Philipp Zabel Date: Tue, 27 Dec 2005 10:47:56 +0000 Subject: autotools.bbclass: use cp -f to install files to staging --- classes/autotools.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'classes/autotools.bbclass') 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} } -- cgit v1.2.3