1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-13 02:30:11 +01:00

As per @daithib8's request, remove some extra dirs

This commit is contained in:
Daniel Martí 2013-03-19 15:32:51 +01:00
parent b5047139e9
commit e64a3ad515

View File

@ -1828,7 +1828,7 @@ def prepare_source(vcs, app, build, build_dir, extlib_dir, sdk_path, ndk_path, j
# There should never be gen or bin directories in the source, so just get
# rid of them...
for baddir in ['gen', 'bin']:
for baddir in ['gen', 'bin', 'obj', 'libs/armeabi', 'libs/mips', 'libs/x86']:
badpath = os.path.join(root_dir, baddir)
if os.path.exists(badpath):
shutil.rmtree(badpath)