From 03aac324b785abfaf8b0a2aba5df05aa74dd376e Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Wed, 8 Jun 2011 10:54:58 +0200 Subject: [PATCH] Fix #1742 about trailing slash in exclude {} --- docs/manuals/en/main/fileset.tex | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/manuals/en/main/fileset.tex b/docs/manuals/en/main/fileset.tex index a0675bcf..d8655bfd 100644 --- a/docs/manuals/en/main/fileset.tex +++ b/docs/manuals/en/main/fileset.tex @@ -1226,7 +1226,7 @@ FileSet { File = /usr/lib/another_file } Exclude { - File = /tmp + File = /tmp # don't add trailing / } } \end{verbatim} @@ -1545,7 +1545,8 @@ RunBeforeJob} directive. You may also include full filenames or directory names in addition to using wild-cards and {\bf Exclude=yes} in the Options resource as specified above by simply including the files to be excluded in an Exclude resource within the -FileSet. For example: +FileSet. It accepts wild-cards pattern, so for a directory, don't add a trailing +/. For example: \footnotesize \begin{verbatim} @@ -1563,7 +1564,7 @@ FileSet { } Exclude { File = /proc - File = /tmp + File = /tmp # Don't add trailing / File = .journal File = .autofsck } -- 2.39.5