fab-user
[Top][All Lists]
Advanced

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

Re: [Fab-user] problem with cd context manager in fabric 1.0.1 (worked i


From: Robert Terhaar
Subject: Re: [Fab-user] problem with cd context manager in fabric 1.0.1 (worked in 0.9.3)
Date: Mon, 11 Apr 2011 22:39:59 -0400

On Mon, Apr 11, 2011 at 10:20 PM, Robert Terhaar <address@hidden> wrote:
Hi All,

I just upgraded to fabric 1.0.1 from 0.9.3, and I'm trying to use an old fabfile that used to work fine. I'm using Ubuntu 10.04 (python 2.6.5)

The problem i'm having is with the "cd" context manager, when fabric runs it seems to just ignore the CD, and tries to run local commands in the wrong directory.

Code example:

with cd(/usr/local/bin):
      local("./do-stuff.sh")

How can I begin debugging this problem?


I just found this:
http://code.fabfile.org/issues/show/245

Using lcd instead of cd for local context changes fixes my problem! Thanks!
 

reply via email to

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