summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/diffstat
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-18 02:05:07 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-18 13:17:39 +0000
commit21b504453cbd5ef94812fddf224622c7ce167981 (patch)
tree4a77fc139021ab1ab8aea290b74111f2ef2bf80c /meta/recipes-devtools/diffstat
parent1f7583d669f1d13cdc2ed0f7c468c65879489cca (diff)
downloadopenembedded-core-21b504453cbd5ef94812fddf224622c7ce167981.tar.gz
openembedded-core-21b504453cbd5ef94812fddf224622c7ce167981.tar.bz2
openembedded-core-21b504453cbd5ef94812fddf224622c7ce167981.zip
diffstat: Fix case where ${B} != ${S}
Fix out of tree builds by fixing cwd assumptions. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/diffstat')
-rw-r--r--meta/recipes-devtools/diffstat/diffstat_1.55.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/diffstat/diffstat_1.55.bb b/meta/recipes-devtools/diffstat/diffstat_1.55.bb
index fdc2967ab3..9b347e8283 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
}