summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sudo
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-18 02:05:03 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-18 13:17:39 +0000
commit97dc39e42e95dcadc7bed1aee32db3560e21efe5 (patch)
tree94c1ee32fb91c9250edd144e550b56fd440c1275 /meta/recipes-extended/sudo
parent89514049f424eddaa9e46cf4fd8c25d05a9b1c15 (diff)
downloadopenembedded-core-97dc39e42e95dcadc7bed1aee32db3560e21efe5.tar.gz
openembedded-core-97dc39e42e95dcadc7bed1aee32db3560e21efe5.tar.bz2
openembedded-core-97dc39e42e95dcadc7bed1aee32db3560e21efe5.zip
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@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/sudo')
-rw-r--r--meta/recipes-extended/sudo/sudo.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-extended/sudo/sudo.inc b/meta/recipes-extended/sudo/sudo.inc
index babea37c38..7721cd57a1 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
}