apply PATH to unpack command
authorPhil Blundell <philb@gnu.org>
Sun, 3 Oct 2004 13:11:58 +0000 (13:11 +0000)
committerPhil Blundell <philb@gnu.org>
Sun, 3 Oct 2004 13:11:58 +0000 (13:11 +0000)
BKrev: 415ffa9e0hQk33A5PXFRYo7ekUA_cQ

classes/base.oeclass

index e70ef41..2d4a21c 100644 (file)
@@ -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: