summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2011-09-23 12:48:33 -0700
committerDoug Zongker <dougz@android.com>2011-09-23 12:48:33 -0700
commit91b4f8a8504711153b5a0126407d3683a9ab75be (patch)
treefaaa053cd4d9752231d95a341bb54ad7c0126784
parent280cc6655812689a84584b1689555f6d50787a3c (diff)
downloadbuild-91b4f8a8504711153b5a0126407d3683a9ab75be.zip
build-91b4f8a8504711153b5a0126407d3683a9ab75be.tar.gz
build-91b4f8a8504711153b5a0126407d3683a9ab75be.tar.bz2
fix syntax error in OTA script
Change-Id: I3a9535acb47fc3960020a390dec8d0294a404c2e
-rwxr-xr-xtools/releasetools/ota_from_target_files2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/releasetools/ota_from_target_files b/tools/releasetools/ota_from_target_files
index 78cd554..0a27a19 100755
--- a/tools/releasetools/ota_from_target_files
+++ b/tools/releasetools/ota_from_target_files
@@ -815,7 +815,7 @@ def main(argv):
OPTIONS.target_info_dict = OPTIONS.info_dict
OPTIONS.source_info_dict = common.LoadInfoDict(source_zip)
if OPTIONS.package_key is None:
- OPTIONS.package_key = OPTIONS.source_dict.get(
+ OPTIONS.package_key = OPTIONS.source_info_dict.get(
"default_system_dev_certificate",
"build/target/product/security/testkey")
if OPTIONS.verbose: