Fix path to remote zip file

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209258 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Venisse 2005-07-05 11:46:05 +00:00
parent 6cc912fd77
commit d4af37ae66
1 changed files with 6 additions and 1 deletions

View File

@ -143,7 +143,12 @@ public class ScpSiteDeployMojo
commandExecutor.executeCommand( cmd );
commandExecutor.executeCommand( "rm -f " + basedir + "/" + zipFile.getName() );
if ( !basedir.endsWith( "/" ) )
{
basedir = basedir + "/";
}
commandExecutor.executeCommand( "rm -f " + basedir + zipFile.getName() );
}
catch ( Exception e )
{