summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/rpm
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-21 14:22:55 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-21 17:04:56 +0000
commitf352f9f25695635bbaad09774f02e66684971fc0 (patch)
tree3e684882b74f08175c08f3842b55bb470e8f790e /meta/recipes-devtools/rpm
parentfd86061e02bd175dcc5816db1cf15d705d338062 (diff)
downloadopenembedded-core-f352f9f25695635bbaad09774f02e66684971fc0.tar.gz
openembedded-core-f352f9f25695635bbaad09774f02e66684971fc0.tar.bz2
openembedded-core-f352f9f25695635bbaad09774f02e66684971fc0.zip
rpm: Fix case where ${B} != ${S}
We need to run autogen.sh in the correct directory (${S}). Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rpm')
-rw-r--r--meta/recipes-devtools/rpm/rpm_5.4.9.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/rpm/rpm_5.4.9.bb b/meta/recipes-devtools/rpm/rpm_5.4.9.bb
index 6286771efa..ba24111bf7 100644
--- a/meta/recipes-devtools/rpm/rpm_5.4.9.bb
+++ b/meta/recipes-devtools/rpm/rpm_5.4.9.bb
@@ -360,7 +360,7 @@ do_configure() {
# Disable tests!
echo "all:" > ${S}/tests/Makefile.am
- ${S}/autogen.sh
+ ( cd ${S}; ${S}/autogen.sh )
# NASTY hack to make sure configure files the right pkg-config file...
sed -e 's/pkg-config --exists uuid/pkg-config --exists ossp-uuid/g' \