summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-10-03 13:11:58 +0000
committerPhil Blundell <philb@gnu.org>2004-10-03 13:11:58 +0000
commit5159b16578b8ed9e2389ad7d926de3593cdf9128 (patch)
tree52f7883bd50a157cff4155b62fa2f8f3898ff07f /classes
parent8a35d115a789fcd3a0c5e9fcfd0bb0e0545777b5 (diff)
apply PATH to unpack command
BKrev: 415ffa9e0hQk33A5PXFRYo7ekUA_cQ
Diffstat (limited to 'classes')
-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: