aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-08-04 19:55:37 +0000
committerChris Larson <clarson@kergoth.com>2004-08-04 19:55:37 +0000
commitc4f697a1028ef1756b7b19c98cc3e3858495f6ae (patch)
treea50d1ce3e6c671d6c7cc6ceaa617109eb8d1575a /bin
parent9fd0c84611e49db92e94bbd94adf62aecd5ef301 (diff)
downloadbitbake-c4f697a1028ef1756b7b19c98cc3e3858495f6ae.tar.gz
Don't hardcode the location of fakeroot, to allow us to ASSUME_PROVIDED fakeroot-native.
Diffstat (limited to 'bin')
-rw-r--r--bin/oe/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/oe/build.py b/bin/oe/build.py
index a91644f57..d1c2767d1 100644
--- a/bin/oe/build.py
+++ b/bin/oe/build.py
@@ -199,7 +199,7 @@ def exec_func_shell(func, d):
# execute function
prevdir = os.getcwd()
if data.getVarFlag(func, "fakeroot", d):
- maybe_fakeroot = oe.data.expand("${STAGING_BINDIR}/fakeroot ",d)
+ maybe_fakeroot = "PATH=\"%s\" fakeroot " % oe.data.getVar("PATH", d, 1)
else:
maybe_fakeroot = ''
ret = os.system('%ssh -e %s' % (maybe_fakeroot, runfile))