On Thu, 04 Oct 2012 13:18:01 +0200, Enrico Tassi wrote:

> > Is there something different for -pull
> > and -push with regard to EXCLUDE(_LOCAL)?
> Nothing but for the number of time the value is parsed by the shell.

I see.

> When you pull you do something like:
> 
>    ssh host smd-server --exclude $EXCLUDE_REMOTE ...
> 
> and the remote smd-server passes the flag to mddiff. If you push, you
> directly call mddiff with the $EXCLUDE_LOCAL flag. 

Thanks for the explanation!

> For some reasons I
> did not dig into, one of the two commands asks the shell to parse the
> argument lists passed around twice. I tried a bit to use `eval` to
> unifor the things, but I decided it is better to fix the problem in
> another way ;-)

Might be a better headache prevention :)


Cheers,
gregor
 
-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Neil Young: Are You Ready For The Country

Attachment: signature.asc
Description: Digital signature

Reply via email to