chiark / gitweb /
Dumb mistake fixes
authorDaniel Martí <mvdan@mvdan.cc>
Tue, 26 Mar 2013 13:34:04 +0000 (14:34 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Tue, 26 Mar 2013 13:34:04 +0000 (14:34 +0100)
fdroidserver/common.py

index cba1bc60b6fe78dd326bcfe87ad52d1a3df82691..68320b13c771ff9703d618b6e92eeceeb1ae7005 100644 (file)
@@ -912,10 +912,12 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False):
         'https://github.com/Chainfire/libsuperuser', sdir, sdk_path)
         vcs.gotorevision(ref)
         libdir = os.path.join(sdir, 'libsuperuser')
+        if basepath:
+            return sdir
         return libdir
 
     if name == 'AndroidUtils':
-        sdir = os.path.join(extlib_dir, 'libsuperuser')
+        sdir = os.path.join(extlib_dir, 'AndroidUtils')
         vcs = getvcs('git',
         'https://github.com/yuriykulikov/AndroidUtils', sdir, sdk_path)
         vcs.gotorevision(ref)