From: Richard Purdie Date: Mon, 21 Feb 2011 17:26:18 +0000 (+0000) Subject: bitbake/runqueue: Drop PATH override. This was needed for the exec() change but not... X-Git-Tag: 2011-1~2288 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=4b6de47e731357ee31ac0f2af79bff7ed93c3736;p=openembedded-core.git bitbake/runqueue: Drop PATH override. This was needed for the exec() change but not now we use fork() Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index f61e913b9e..172e591522 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py @@ -1076,8 +1076,6 @@ class RunQueueExecute: bb.mkdirhier(p) logger.debug(2, "Running %s:%s under fakeroot, state dir is %s" % (fn, taskname, fakedirs)) - env['PATH'] = self.cooker.configuration.initial_path - envbackup = os.environ.copy() for e in envbackup: os.unsetenv(e)