diff options
author | Chris Larson <clarson@kergoth.com> | 2004-08-04 19:55:37 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-08-04 19:55:37 +0000 |
commit | c4f697a1028ef1756b7b19c98cc3e3858495f6ae (patch) | |
tree | a50d1ce3e6c671d6c7cc6ceaa617109eb8d1575a | |
parent | 9fd0c84611e49db92e94bbd94adf62aecd5ef301 (diff) | |
download | bitbake-c4f697a1028ef1756b7b19c98cc3e3858495f6ae.tar.gz |
Don't hardcode the location of fakeroot, to allow us to ASSUME_PROVIDED fakeroot-native.
-rw-r--r-- | bin/oe/build.py | 2 |
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)) |