Fix backup deletion issue identified by RM-516

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@42788 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gethin James
2012-10-18 09:35:15 +00:00
parent c22d28e6e1
commit aaa1357100
2 changed files with 17 additions and 7 deletions

View File

@@ -478,7 +478,7 @@ public class ModuleManagementTool implements LogOutput
TFile modified = new TFile(warFileLocation + update.getKey());
TFile backup = new TFile(warFileLocation + update.getValue());
backup.cp_rp(modified);
backup.deleteOnExit();
backup.rm();
}
outputVerboseMessage("Recovering file '" + update.getKey() + "' from backup '" + update.getValue() + "'", true);