mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 07:52:35 +03:00
As per @daithib8's request, remove some extra dirs
This commit is contained in:
parent
b5047139e9
commit
e64a3ad515
1 changed files with 1 additions and 1 deletions
|
@ -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
|
# There should never be gen or bin directories in the source, so just get
|
||||||
# rid of them...
|
# 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)
|
badpath = os.path.join(root_dir, baddir)
|
||||||
if os.path.exists(badpath):
|
if os.path.exists(badpath):
|
||||||
shutil.rmtree(badpath)
|
shutil.rmtree(badpath)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue