OSDN Git Service

fix build
authorDoug Zongker <dougz@google.com>
Fri, 22 Aug 2014 21:48:50 +0000 (14:48 -0700)
committerDoug Zongker <dougz@google.com>
Tue, 26 Aug 2014 20:11:37 +0000 (13:11 -0700)
Change-Id: I1e503406129343bbfddacc1150c81e403b47778c

tools/releasetools/add_img_to_target_files.py

index e7ba28d..bf217e0 100755 (executable)
@@ -69,7 +69,7 @@ def AddVendor(output_zip, prefix="IMAGES/"):
   output_zip."""
   block_list = common.MakeTempFile(prefix="vendor-blocklist-", suffix=".map")
   imgname = BuildVendor(OPTIONS.input_tmp, OPTIONS.info_dict,
-                     block_list=block_list.name)
+                     block_list=block_list)
   with open(imgname, "rb") as f:
     common.ZipWriteStr(output_zip, prefix + "vendor.img", f.read())
   with open(block_list, "rb") as f: