title: Ant - Code format issue when deliver shell from windows to unix by scp
body: <p>I deliver a folder which includes a large number of shell scripts to unix using</p>
  
  <pre><code>&lt;scp todir="${user.id}:${user.pwd}@${host.name}:${destination}" verbose="true" port="${host.port}" trust="true" failonerror="true"&gt;
          &lt;fileset dir="${source.dir}"&gt;
              &lt;include name="**" /&gt;
              &lt;exclude name=".project"/&gt;
              &lt;exclude name=".svn"/&gt;
              &lt;exclude name="temp"/&gt;
              &lt;exclude name="jsch_build.xml"/&gt;
          &lt;/fileset&gt;
      &lt;/scp&gt;
  </code></pre>
  
  <p>then I got an error response</p>
  
  <blockquote>
    <p>:/bin/sh^M: bad interpreter: No such file or directory.</p>
  </blockquote>
  
  <p>I know this caused by code format. 
  One solution is set ff=unix, but i need to handle these scripts one by one. 
  And no dos2unix installed on the unix machine.</p>
  
  <p>Is anybody who can help me solve this issue?Thanks!</p>