[oe-commits] Richard Purdie : sudo: Fix case where ${B} != ${S}
git at git.openembedded.org
git at git.openembedded.org
Mon Mar 18 13:17:28 UTC 2013
Module: openembedded-core.git
Branch: master-next
Commit: 615f9d74b38795a1ccd237d5062760904a418973
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=615f9d74b38795a1ccd237d5062760904a418973
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Mon Mar 18 02:05:03 2013 +0000
sudo: Fix case where ${B} != ${S}
Fix out of tree builds by using full path to files in ${S} and remove
cwd assumptions.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-extended/sudo/sudo.inc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-extended/sudo/sudo.inc b/meta/recipes-extended/sudo/sudo.inc
index babea37..7721cd5 100644
--- a/meta/recipes-extended/sudo/sudo.inc
+++ b/meta/recipes-extended/sudo/sudo.inc
@@ -16,8 +16,8 @@ inherit autotools
EXTRA_OECONF = "--with-editor=/bin/vi --with-env-editor"
do_configure_prepend () {
- if [ ! -e acinclude.m4 ]; then
- cat aclocal.m4 > acinclude.m4
+ if [ ! -e ${S}/acinclude.m4 ]; then
+ cat ${S}/aclocal.m4 > ${S}/acinclude.m4
fi
}
More information about the Openembedded-commits
mailing list