summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/base.oeclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/base.oeclass b/classes/base.oeclass
index e70ef41115..2d4a21cafc 100644
--- a/classes/base.oeclass
+++ b/classes/base.oeclass
@@ -424,6 +424,7 @@ python base_do_unpack() {
cmd = 'cp %s %s/%s/' % (local, os.getcwd(), destdir)
if not cmd:
continue
+ cmd = "PATH=\"%s\" %s" % (oe.data.getVar('PATH', d, 1), cmd)
oe.note("Unpacking %s to %s/" % (local, os.getcwd()))
ret = os.system(cmd)
if ret != 0: