fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] using run on a machine that doesn't have /bin/bash


From: Christian Vest Hansen
Subject: Re: [Fab-user] using run on a machine that doesn't have /bin/bash
Date: Fri, 21 Nov 2008 08:54:07 +0100

Yes. It's called the `fab_shell` variable, and it is by default
defined like this:

/bin/bash -l -c "%s"

On Fri, Nov 21, 2008 at 7:01 AM, Don Jackson
<address@hidden> wrote:
>
> Doesn't seem to work.
>
> $ cat fabfile
> set(
>  fab_hosts = ['svn01'],
> )
>
> def pwd():
>    "prints cwd"
>    run("pwd")
>
> $ fab pwd
>   Fabric v. 0.0.9, Copyright (C) 2008 Christian Vest Hansen.
>   Fabric comes with ABSOLUTELY NO WARRANTY; for details type `fab warranty'.
>   This is free software, and you are welcome to redistribute it
>   under certain conditions; type `fab license' for details.
>
> Running pwd...
> Logging into the following hosts as dcj:
>    svn01
> [svn01] run: pwd
> [svn01] err: ksh: /bin/bash: not found
> Error: The run operation failed on svn01.
>
> Is there a variable I can set that will make fabric use another shell?
>
>
>
>
> _______________________________________________
> Fab-user mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/fab-user
>



-- 
Venlig hilsen / Kind regards,
Christian Vest Hansen.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]