o MAVEN-324: Swapped order of -l username and siteaddress. Works with cygwin ssh / unix ssh, and should theoretically work better with putty according to request.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113103 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
bwalding 2003-03-11 10:44:01 +00:00
parent 6c59eec6b1
commit 9eff1841cc

View File

@ -88,7 +88,7 @@
<j:set var="assureDirectoryCommandX" value="${assureDirectoryCommand}X"/>
<j:if test="${assureDirectoryCommandX != 'X'}">
<exec dir="." executable="${commander}">
<arg line="${siteAddress} -l ${username} '${assureDirectoryCommand} ${resolvedDirectory}'"/>
<arg line="-l ${username} ${siteAddress} '${assureDirectoryCommand} ${resolvedDirectory}'"/>
</exec>
</j:if>
@ -118,7 +118,7 @@
</echo>
<exec dir="." executable="${commander}">
<arg line="${siteAddress} -l ${username} '${siteCommand}'"/>
<arg line="-l ${username} ${siteAddress} '${siteCommand}'"/>
</exec>
</j:if>