]> code.ossystems Code Review - openembedded-core.git/commitdiff
rpm: Fix case where ${B} != ${S}
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 21 Mar 2013 14:22:55 +0000 (14:22 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 21 Mar 2013 17:04:56 +0000 (17:04 +0000)
We need to run autogen.sh in the correct directory (${S}).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rpm/rpm_5.4.9.bb

index 6286771efa6ff1319b17430ef36dd03a2686dcc8..ba24111bf7fff165223ce4891bb0be98f3dd3509 100644 (file)
@@ -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' \