diff --git a/source/python/install.py b/source/python/install.py index 9b084b582351ea38cf06d4c8f9f3400b001a4c2f..440f13574daebfc7e7bf83fd8be42708d0ae47f0 100755 --- a/source/python/install.py +++ b/source/python/install.py @@ -60,7 +60,8 @@ from argparse import ArgumentParser, ArgumentDefaultsHelpFormatter import _config from classes.ControlFile import ControlFile from classes.UioFiles import UioFiles -from mods.tools import make_dir, put_file_to_ecserver, submit_job_to_ecserver +from mods.tools import (make_dir, put_file_to_ecserver, submit_job_to_ecserver, + silent_remove) # ------------------------------------------------------------------------------ # FUNCTIONS @@ -178,6 +179,8 @@ def install_via_gateway(c): os.path.join(_config.PATH_REL_JOBSCRIPTS, _config.FILE_INSTALL_COMPILEJOB)) + silent_remove(tar_file) + print('job compilation script has been submitted to ecgate for ' + 'installation in ' + c.flexpart_root_scripts + '/' + target_dirname)