oe.unpack: fix subdir-feature
authorHenning Heinold <heinold@inf.fu-berlin.de>
Fri, 15 Oct 2010 10:23:43 +0000 (12:23 +0200)
committerHenning Heinold <heinold@inf.fu-berlin.de>
Fri, 15 Oct 2010 10:26:07 +0000 (12:26 +0200)
lib/oe/unpack.py

index f2139ba..5a8334b 100644 (file)
@@ -89,6 +89,6 @@ def unpack_file(file, destdir, dos=False, env=None):
 
     import oe.process
     try:
-        oe.process.run(cmd, env=env)
+        oe.process.run(cmd, env=env, cwd=destdir)
     except oe.process.CmdError, exc:
         raise UnpackError(file, destdir, cmd, str(exc))