summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2013-05-10 23:05:22 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2013-05-10 23:05:22 +0200
commite323376cdd90f067de96684f9e0e3134a336b6f7 (patch)
tree05079f4e04a3f10300858afcf8a1b9de21febbf8
parent1de52658da667638508578a6a429120f74c63a4b (diff)
android: fix extraction of the NDK
tarfile doesn't seam to like the tarball and extracts only to docs folder
-rw-r--r--cerbero/bootstrap/android.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cerbero/bootstrap/android.py b/cerbero/bootstrap/android.py
index 6f69099..dda61a1 100644
--- a/cerbero/bootstrap/android.py
+++ b/cerbero/bootstrap/android.py
@@ -39,7 +39,7 @@ class AndroidBootstraper (BootstraperBase):
pass
shell.download("%s/%s" % (self.NDK_BASE_URL, ndk_tar), tar)
try:
- shell.unpack(tar, dest)
+ shell.call('tar -xvjf %s' % ndk_tar, dest)
shell.call('mv android-ndk-r8e/* .', dest)
except Exception:
pass