From: Robert Schuster Date: Wed, 2 Apr 2008 23:07:09 +0000 (+0000) Subject: autotools.bbclass: Replace cp with autotools_stage_dir. X-Git-Tag: Release-2010-05/1~7249^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5174d5b1fc20573a62e69ddaeb73e6146a16df8d;p=openembedded.git autotools.bbclass: Replace cp with autotools_stage_dir. --- diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass index 53480e5a15..9d741408f4 100644 --- a/classes/autotools.bbclass +++ b/classes/autotools.bbclass @@ -211,8 +211,7 @@ autotools_stage_all() { else # Otherwise libtool wasn't used, and lib/ can be copied # directly. - echo "cp -fpPR ${STAGE_TEMP}/${libdir}/* ${STAGING_LIBDIR}" - cp -fpPR ${STAGE_TEMP}/${libdir}/* ${STAGING_LIBDIR} + autotools_stage_dir ${STAGE_TEMP}/${libdir} ${STAGING_LIBDIR} fi fi