Matthias Kilian <k...@outback.escape.de> writes: > --- > GNUmakefile.in | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/GNUmakefile.in b/GNUmakefile.in > index 6574e65..6c2c54f 100644 > --- a/GNUmakefile.in > +++ b/GNUmakefile.in > @@ -123,7 +123,7 @@ WWW-post: > $(buildscript-dir)/mutopia-index -o $(outdir)/examples.html input/ > find $(outdir) -name '*-root' | xargs rm -rf > $(buildscript-dir)/www_post $(PACKAGE_NAME) $(TOPLEVEL_VERSION) > $(outdir) "$(WEB_TARGETS)" > - find $(outdir)/offline-root -type l -delete > + find $(outdir)/offline-root -type l | xargs rm -f > endif # ifeq ($(out),www)
What's the rationale? The latter form is less efficient and less secure (if somebody places files with spaces or newlines into the latter directory, things may get ugly). For example, one test for sysadmins' carefulness is something like mkdir -p '/tmp/this /etc/passwd /tmp/could happen' Of course, if offline-root is guaranteed to be under complete control of the person doing the compilation, this is less of an issue. -- David Kastrup _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel