chiark / gitweb /
Correction to d38317f
authorCiaran Gultnieks <ciaran@ciarang.com>
Sun, 19 Feb 2012 12:16:41 +0000 (12:16 +0000)
committerCiaran Gultnieks <ciaran@ciarang.com>
Sun, 19 Feb 2012 12:16:41 +0000 (12:16 +0000)
common.py

index a8547ddecd6f7d9597ecd316a41f3ebd156e9be9..8383650010e7fb3e5b05836fe230e42cf6c706a4 100644 (file)
--- 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)