OSDN Git Service

Fix a misnamed variable to fix the build.
authorGeremy Condra <gcondra@google.com>
Mon, 18 Nov 2013 02:10:55 +0000 (18:10 -0800)
committerGeremy Condra <gcondra@google.com>
Mon, 18 Nov 2013 02:10:55 +0000 (18:10 -0800)
Change-Id: Ia69d48ace0a6c10c5e6ea06714e52b8c937e213f

tools/releasetools/build_image.py

index 964f277..2d75749 100755 (executable)
@@ -256,7 +256,7 @@ def BuildImage(in_dir, prop_dict, out_file):
       return False
 
   if run_fsck and prop_dict.get("skip_fsck") != "true":
-    success, unsparse_image_path = UnsparseImage(out_file)
+    success, unsparse_image = UnsparseImage(out_file)
     if not success:
       return False