diff options
Diffstat (limited to 'images/create_imgs_package.py')
-rwxr-xr-x | images/create_imgs_package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/images/create_imgs_package.py b/images/create_imgs_package.py index 642edaebb..4b49390ce 100755 --- a/images/create_imgs_package.py +++ b/images/create_imgs_package.py @@ -38,7 +38,7 @@ def clear_img_dir(img_root_dir): def get_zipfilename_from_cpack_output(cpoutput): """ Parses the output of the ZIP-file creating script and scrapes the actual file name. """ - regex = re.compile("\/build\/(?P<filename>.*\.zip)") + regex = re.compile("\/build\/(?P<filename>[^\/]+\.zip)") results = regex.search(cpoutput) return results.group('filename') |