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:
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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue