aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/oe/unpack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oe/unpack.py b/lib/oe/unpack.py
index f2139baa99..5a8334bc1a 100644
--- a/lib/oe/unpack.py
+++ b/lib/oe/unpack.py
@@ -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))