From 2a5f3182f9ae77749a3048668b257be64724ba4d Mon Sep 17 00:00:00 2001 From: Doug Zongker Date: Thu, 10 Feb 2011 10:25:35 -0800 Subject: allow use of old radio.img name too, to build incrementals correctly Change-Id: I1c630e8db8ca9baa141d10fa22c664a992f5a0d5 --- releasetools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'releasetools.py') diff --git a/releasetools.py b/releasetools.py index e13ad8e..cf561b7 100644 --- a/releasetools.py +++ b/releasetools.py @@ -20,7 +20,7 @@ import common def FindRadio(zipfile): matches = [] for name in zipfile.namelist(): - if re.match(r"^RADIO/radio[.].+[.]img$", name): + if re.match(r"^RADIO/radio[.](.+[.])?img$", name): matches.append(name) if len(matches) > 1: raise ValueError("multiple radio images in target-files zip!") -- cgit v1.1