mirror of https://github.com/apache/maven.git
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:
parent
6cc912fd77
commit
d4af37ae66
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue