From: Ciaran Gultnieks Date: Sun, 19 Feb 2012 12:16:41 +0000 (+0000) Subject: Correction to d38317f X-Git-Tag: 0.1~945 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=d6deb15c0a4197270a6a6516e42a74c8eb80f902;p=fdroidserver.git Correction to d38317f --- diff --git a/common.py b/common.py index a8547dde..83836500 100644 --- a/common.py +++ b/common.py @@ -826,7 +826,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']: - badpath = os.path.join(root_dir, 'gen') + badpath = os.path.join(root_dir, baddir) if os.path.exists(badpath): shutil.rmtree(badpath)