On Mon, Oct 01, 2012 at 06:00:20PM +0200, gregor herrmann wrote: > > > > The attached patch brings me over this failure; no idea if it has any > > > > side effects, I haven't dared to run smd* without --dry-run :) > > > Good news: smd is running flawlessly for me since a week. > > 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. The bad news is that your fix does not work. 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). 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. 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). 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