Patchwork [08/16] rpm: Fix case where ${B} != ${S}

login
register
mail settings
Submitter Richard Purdie
Date March 21, 2013, 3:55 p.m.
Message ID <1363881315-24352-8-git-send-email-richard.purdie@linuxfoundation.org>
Download mbox | patch
Permalink /patch/46645/
State Accepted
Commit f352f9f25695635bbaad09774f02e66684971fc0
Headers show

Comments

Richard Purdie - March 21, 2013, 3:55 p.m.
We need to run sutogen.sh in the correct directory (${S}).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-devtools/rpm/rpm_5.4.9.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-devtools/rpm/rpm_5.4.9.bb b/meta/recipes-devtools/rpm/rpm_5.4.9.bb
index 6286771..ba24111 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' \