chiark / gitweb /
variable typo
authorDaniel Martí <mvdan@mvdan.cc>
Sun, 3 Nov 2013 12:54:55 +0000 (13:54 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Sun, 3 Nov 2013 12:54:55 +0000 (13:54 +0100)
fdroidserver/common.py

index e681814d7d24fd1f08f80e2417864f1dcb88f06a..9364d70f9b18032e29a049be362d1eac150c6b50 100644 (file)
@@ -1417,7 +1417,7 @@ def prepare_source(vcs, app, build, build_dir, srclib_dir, extlib_dir, sdk_path,
             p = FDroidPopen(dparms, cwd=root_dir, verbose=verbose)
             # check to see whether an error was returned without a proper exit code (this is the case for the 'no target set or target invalid' error)
             if p.returncode != 0 or (p.stderr != "" and p.stderr.startswith("Error: ")):
-                raise BuildException("Failed to update project at %s" % cwd,
+                raise BuildException("Failed to update project at %s" % d,
                         p.stdout, p.stderr)
 
     # If the app has ant set up to sign the release, we need to switch