mirror of
https://github.com/followmsi/android_device_asus_deb.git
synced 2024-11-06 22:06:28 +00:00
deb: Fix assert syntax error
Change-Id: I8f7730c0672ed73798164c4621e1b4ac4681d00f
This commit is contained in:
parent
6770893cf1
commit
e6ca275e52
1 changed files with 2 additions and 2 deletions
|
@ -224,7 +224,7 @@ def trunc_to_null(s):
|
|||
def WriteImageAssert(info, file_name, file_data, partition):
|
||||
checksum = common.sha1(file_data).hexdigest()
|
||||
file_size = len(file_data)
|
||||
info.script.AppendExtra('ifelse(sha1_check(read_file("EMMC:%s:%d:%s")) != ""),'
|
||||
info.script.AppendExtra('ifelse((sha1_check(read_file("EMMC:%s:%d:%s")) != ""),'
|
||||
'(ui_print("%s already up to date")),'
|
||||
'package_extract_file("%s", "%s")));'
|
||||
'(package_extract_file("%s", "%s")));'
|
||||
% (partition, file_size, checksum, partition, file_name, partition))
|
||||
|
|
Loading…
Reference in a new issue