I found the problem. When listing the directory contents I was splitting on "\n" instead of "\r\n". When then using the directory names with trailing "\r"s it was throwing everything off, even though it looked fine from the output.
On Fri, Jun 24, 2011 at 4:14 PM, Brent Tubbs <[email protected]> wrote: > Hi all, > > I'm calling this in my fabfile: > > sudo('rm -rf /srv/old_version_of_my_site') > > The command line output when I run the fabfile looks like it should be > working: > > [mysite.com] sudo: rm -rf /srv/old_version_of_my_site > > But when I actually SSH to the server and look with 'ls /srv' my old > folder is still there. Has anyone seen this before or have any idea > what's going on? > > Brent > _______________________________________________ Fab-user mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/fab-user
