diff options
| author | Ashish Chaudhari <ashish@ettus.com> | 2014-10-24 17:30:54 -0700 | 
|---|---|---|
| committer | Ashish Chaudhari <ashish@ettus.com> | 2014-10-27 11:01:26 -0700 | 
| commit | febfbc98572af4eba90ed90b2f8a65a8a2616311 (patch) | |
| tree | 65ec69011907319c48572cf6c91ba09aa4d693b2 /host/utils/uhd_images_downloader.py.in | |
| parent | b9303d85e241220eea3d57b181971e34a7e68d5f (diff) | |
| download | uhd-febfbc98572af4eba90ed90b2f8a65a8a2616311.tar.gz uhd-febfbc98572af4eba90ed90b2f8a65a8a2616311.tar.bz2 uhd-febfbc98572af4eba90ed90b2f8a65a8a2616311.zip | |
utils: Minor fixes in images downloader and packaging scripts
Diffstat (limited to 'host/utils/uhd_images_downloader.py.in')
| -rw-r--r-- | host/utils/uhd_images_downloader.py.in | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/host/utils/uhd_images_downloader.py.in b/host/utils/uhd_images_downloader.py.in index 8a0754f49..5b16c7bb5 100644 --- a/host/utils/uhd_images_downloader.py.in +++ b/host/utils/uhd_images_downloader.py.in @@ -332,6 +332,9 @@ def main():                      if options.verbose:                          print "Image archive extracted to: %s" % (extract_path)                      downloader.install_images(extract_path, images_dir, options.keep, print_progress=options.verbose) +                    if options.verbose: +                        print "Cleaning up temp location: %s" % (extract_path) +                    shutil.rmtree(extract_path)                      print                      print "Images successfully installed to: %s" % (images_dir)                  except Exception, e: | 
