aboutsummaryrefslogtreecommitdiffstats
path: root/images/create_imgs_package.py
diff options
context:
space:
mode:
authorAshish Chaudhari <ashish@ettus.com>2014-10-24 17:30:54 -0700
committerAshish Chaudhari <ashish@ettus.com>2014-10-27 11:01:26 -0700
commitfebfbc98572af4eba90ed90b2f8a65a8a2616311 (patch)
tree65ec69011907319c48572cf6c91ba09aa4d693b2 /images/create_imgs_package.py
parentb9303d85e241220eea3d57b181971e34a7e68d5f (diff)
downloaduhd-febfbc98572af4eba90ed90b2f8a65a8a2616311.tar.gz
uhd-febfbc98572af4eba90ed90b2f8a65a8a2616311.tar.bz2
uhd-febfbc98572af4eba90ed90b2f8a65a8a2616311.zip
utils: Minor fixes in images downloader and packaging scripts
Diffstat (limited to 'images/create_imgs_package.py')
-rwxr-xr-ximages/create_imgs_package.py2
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')