title: cp command won't run if executed from shell script
body: <p>
  i have very simple shell script</p>
  
  <pre class="lang-sh prettyprint-override"><code>#!/bin/bash    
  cp -rf /var/www/ksite/app2/* /var/www/ksite/app
  echo "----"
  echo "done"
  </code></pre>
  
  <p>but seems cp command fails </p>
  
  <p>if i execute</p>
  
  <pre class="lang-sh prettyprint-override"><code>cp -rf /var/www/ksite/app2/* /var/www/ksite/app
  </code></pre>
  
  <p>from terminal everything work ok. Can someone tell me how to include cp in shell script?</p>
  
  <p>Thanks</p>