summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2013-05-10 21:05:22 (GMT)
committerAndoni Morales Alastruey <ylatuya@gmail.com>2013-05-10 21:05:22 (GMT)
commite323376cdd90f067de96684f9e0e3134a336b6f7 (patch)
tree05079f4e04a3f10300858afcf8a1b9de21febbf8
parent1de52658da667638508578a6a429120f74c63a4b (diff)
downloadcerbero-e323376cdd90f067de96684f9e0e3134a336b6f7.tar.gz
cerbero-e323376cdd90f067de96684f9e0e3134a336b6f7.tar.xz
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