PR: MNG-476

guarantee comands are executed in order

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191256 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-06-18 02:44:08 +00:00
parent 60750dede2
commit 29439c710c
1 changed files with 1 additions and 6 deletions

View File

@ -139,14 +139,9 @@ public class ScpSiteDeployMojo
commandExecutor.put( zipFile, zipFile.getName() );
cmd = " cd " + basedir + ";" + unzipCommand + " " + zipFile.getName() + "\n";
cmd = " cd " + basedir + ";" + unzipCommand + " " + zipFile.getName() + "; rm " + basedir + "/" + zipFile.getName();
commandExecutor.executeCommand( cmd );
String rmCommand = "rm " + basedir + "/" + zipFile.getName();
commandExecutor.executeCommand( rmCommand );
}
catch ( Exception e )
{