From: Roy.Li Date: Wed, 26 Jun 2013 01:58:35 +0000 (+0800) Subject: autotools.bbclass: force copy Makefile.in.in to ${S}/po/ X-Git-Tag: 2015-4~6034 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=6e1b17f19411ed897c53ae0ef41a2d2972a9c113;p=openembedded-core.git autotools.bbclass: force copy Makefile.in.in to ${S}/po/ If a Makefile.in.in has existed under ${S}/po/ and is read-only, cp will fail. Signed-off-by: Roy.Li Signed-off-by: Saul Wold --- diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index 66c0f5d10a..4e4ef986bf 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass @@ -201,7 +201,7 @@ autotools_do_configure() { # We'd call gettextize here if it wasn't so broken... cp ${STAGING_DATADIR_NATIVE}/gettext/config.rpath ${AUTOTOOLS_AUXDIR}/ if [ -d ${S}/po/ ]; then - cp ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in ${S}/po/ + cp -f ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in ${S}/po/ if [ ! -e ${S}/po/remove-potcdate.sin ]; then cp ${STAGING_DATADIR_NATIVE}/gettext/po/remove-potcdate.sin ${S}/po/ fi