On Thu, Oct 04, 2012 at 12:39:32PM +0200, gregor herrmann wrote:
> Ah, that might explain why it "works" (as in: I have the folders
> locally on the laptop but not on the server -- just checked again,
> they really are not there). 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.
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. 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 ;-)

Cheers
-- 
Enrico Tassi


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to