chiark / gitweb /
Fix gradle patching when using @..
authorDaniel Martí <mvdan@mvdan.cc>
Tue, 31 Dec 2013 09:43:47 +0000 (10:43 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Thu, 9 Jan 2014 15:23:48 +0000 (16:23 +0100)
fdroidserver/build.py

index 32c43a322afcb0d5583ecdb631fb32600a976049..5e2b4846cc3de635191d7466273adbcd9ab7ad0a 100644 (file)
@@ -606,7 +606,7 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
                         's@compileSdkVersion[ ]*[0-9]*@compileSdkVersion '+level+'@g',
                         'build.gradle'], cwd=gradle_dir)
 
-        for root, dirs, files in os.walk(build_dir):
+        for root, dirs, files in os.walk(gradle_dir):
             for f in files:
                 if f == 'build.gradle':
                     adapt_gradle(os.path.join(root, f))