title: Magento upgrade error
body: <p>I'm trying to upgrade my Magento setup via SSH, I'm trying to run the ./pear mage-setup command and getting the following error:</p>
  
  <pre><code>-bash: ./pear: /bin/sh^M: bad interpreter: No such file or directory
  </code></pre>
  
  <p>Can anyone help point me in the right direction to fix this error?</p>
  
  <p>I can't upgrade through connect so I'm wondering if it is at all possible to upgrade by copying the files across manually from a zip of the latest version?</p>