From: Richard Purdie Date: Mon, 18 Mar 2013 02:05:07 +0000 (+0000) Subject: diffstat: Fix case where ${B} != ${S} X-Git-Tag: rev_ivi_2015_02_04~13291 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2f49acd389241bc35cf439072557bb4758f10264;p=scm%2Fbb%2Ftizen-distro.git diffstat: Fix case where ${B} != ${S} Fix out of tree builds by fixing cwd assumptions. (From OE-Core rev: 21b504453cbd5ef94812fddf224622c7ce167981) Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/diffstat/diffstat_1.55.bb b/meta/recipes-devtools/diffstat/diffstat_1.55.bb index fdc2967..9b347e8 100644 --- a/meta/recipes-devtools/diffstat/diffstat_1.55.bb +++ b/meta/recipes-devtools/diffstat/diffstat_1.55.bb @@ -19,8 +19,8 @@ S = "${WORKDIR}/diffstat-${PV}" inherit autotools gettext do_configure () { - if [ ! -e acinclude.m4 ]; then - mv aclocal.m4 acinclude.m4 + if [ ! -e ${S}/acinclude.m4 ]; then + mv ${S}/aclocal.m4 ${S}/acinclude.m4 fi autotools_do_configure }