Skip to content

Commit 5b8070e

Browse files
committed
Add debug output
1 parent 6babf77 commit 5b8070e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pythonforandroid/recipe.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import glob
33
import hashlib
44
import importlib
5+
import os
56
import shutil
67
from os import listdir, unlink, environ, mkdir, curdir, walk
78
from os.path import basename, dirname, exists, isdir, isfile, join, realpath, split
@@ -373,6 +374,8 @@ def unpack(self, arch):
373374
extraction_filename = join(
374375
self.ctx.packages_path, self.name, filename)
375376
if isfile(extraction_filename):
377+
info('File type for {}'.format(extraction_filename))
378+
os.system('file ' + extraction_filename)
376379
if extraction_filename.endswith('.zip'):
377380
try:
378381
sh.unzip(extraction_filename)

0 commit comments

Comments
 (0)