From 5174d5b1fc20573a62e69ddaeb73e6146a16df8d Mon Sep 17 00:00:00 2001 From: Robert Schuster Date: Wed, 2 Apr 2008 23:07:09 +0000 Subject: [PATCH] autotools.bbclass: Replace cp with autotools_stage_dir. --- classes/autotools.bbclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.39.5