Hi Will,

On 02.09.2009, at 16:21, Will Clark wrote:

>
> I have a few bash functions on the server I'm deploying to. When I ssh
> into the server using the same user account I deploy with, I can call
> the functions without any problems.
>
> However, if I try to call the functions from my deploy script I get:
>
> sh: my-function: command not found

I would suggest using the full path to the script, like /home/user/my- 
function.sh or /var/www/rails/bin/my-function.sh, or whereever you  
have your script.

Let me know whether this solved the problem, please.

Regards
Martin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.co.uk/group/capistrano?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to