On Thu, 04 Oct 2012 12:04:56 +0200, Enrico Tassi wrote: > > > I clearly understand your patch, it seems OK to me. > > > And I'm indeed glad it works ;-) > > I does, and I'm happily using smd since then :) > I've been able to reproduce the bug.
Excellent. > The bad news is that your fix does > not work. Oh, please don't tell this to my smd instance :) > The folder you marked for exclusion is probably not excluded > at all, since the ' is interpreted as part of the glob expression (at > least by smd-pull). 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)? > The bug is clearly a consequence of the escaping madness of the shell. > The bits of smd written in shell script have grown too much, and it is > time to rewrite them in a less error prone language. Right, shell escaping is a beast ... > I think that the easiest workaround for you, if you want exclude the > folder in question, is to revet your patch and replace & with %26 in > the EXCLUDE_* glob expression (as you have to do with %20 for spaces). Good hint, thanks. 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 `- BOFH excuse #148: Insert coin for new game -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org