fab-user
[Top][All Lists]
Advanced

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

Re: [Fab-user] Patch for files.py


From: Morgan LEFIEUX
Subject: Re: [Fab-user] Patch for files.py
Date: Wed, 16 Feb 2011 00:46:19 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101230 Lightning/1.0b2.105ipre1 Lanikai/3.1.7

This is a fixed release of the patch, sorry for the mistake.

Any comment is welcome.

Le 15/02/2011 23:47, Travis Swicegood a écrit :
FWIW: sed on BSD (at least a Darwin) does support inline editing via -i,
but I think the syntax is slightly different.

I'm also not familiar with platform.system() -- is it going to be aware
of the other OS?  I routinely execute code on Ubuntu from my Mac.
  Wouldn't this code use the BSD syntax rather than the remote system's
syntax?

-T


On Tue, Feb 15, 2011 at 3:59 PM, Morgan LEFIEUX <address@hidden
<mailto:address@hidden>> wrote:

    Hello,

    I've made a little modification of the 'files.py' code to handle
    correctly sed versions without '-i' option like on NetBSD and OpenBSD.

    thanks !

    Bye

    _______________________________________________
    Fab-user mailing list
    address@hidden <mailto:address@hidden>
    http://lists.nongnu.org/mailman/listinfo/fab-user


Attachment: 0001-Test-the-remote-OS-to-handle-some-BSD-sed-versions-w.patch
Description: Text Data


reply via email to

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