autotools.bbclass: Replace cp with autotools_stage_dir.
authorRobert Schuster <thebohemian@gmx.net>
Wed, 2 Apr 2008 23:07:09 +0000 (23:07 +0000)
committerRobert Schuster <thebohemian@gmx.net>
Wed, 2 Apr 2008 23:07:09 +0000 (23:07 +0000)
classes/autotools.bbclass

index 53480e5..9d74140 100644 (file)
@@ -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