On Tue, Jan 27, 2009 at 09:01:01PM -0500, Tim Abbott wrote: > If one is editing files in /etc/schroot/chroot.d using editors that leave > backup files, it ends up breaking things: > > The right thing to do is what run-parts and a number of other tools with > .d directories do, which is ignore files whose names contain weird > characters such as #, ~, etc. I'm aware of other projects copying logic > from run-parts, so that might be a good place to look for reasonably > well-tested logic for this purpose.
Agreed. I'll use the same (or a very similar) regex to detect backup names and skip those. Thanks for letting me know about it! Thanks, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ `- GPG Public Key: 0x25BFB848 Please GPG sign your mail. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org