This commit is contained in:
thomashaw
2021-03-08 14:36:58 +00:00
5 changed files with 123 additions and 162 deletions

View File

@@ -244,6 +244,7 @@ def start(options)
log.close
# Back up project flags, scenario, and log file
FileUtils.mkdir_p("#{backup_path}#{project_id}") unless Dir.exist?("#{backup_path}#{project_id}")
FileUtils.cp(log_path, ("#{backup_path}#{project_id}/" + log_name))
FileUtils.cp("#{project_path}/#{FLAGS_FILENAME}", "#{backup_path}#{project_id}/")
FileUtils.cp("#{project_path}/scenario.xml", "#{backup_path}#{project_id}/")