1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-31 00:39:46 +00:00

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 <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2013-03-18 02:05:07 +00:00
parent 915e133205
commit 635f498fc7
@@ -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
}