diff --git a/tools/releasetools/edify_generator.py b/tools/releasetools/edify_generator.py index edd702c0d..43e854227 100644 --- a/tools/releasetools/edify_generator.py +++ b/tools/releasetools/edify_generator.py @@ -98,7 +98,7 @@ class EdifyGenerator(object): if not fp: raise ValueError("must specify some thumbprints") cmd = ( - ' ||\n '.join([('getprop(ro.build.thumbprint") == "%s"') + ' ||\n '.join([('getprop("ro.build.thumbprint") == "%s"') % i for i in fp]) + ' ||\n abort("Package expects build thumbprint of %s; this ' 'device has " + getprop("ro.build.thumbprint") + ".");'