summaryrefslogtreecommitdiffstats
path: root/installer/OpenSLX/OSExport/ExportType/NFS.pm
diff options
context:
space:
mode:
authorOliver Tappe2007-03-14 18:53:20 +0100
committerOliver Tappe2007-03-14 18:53:20 +0100
commit89a650ca99c0da3156df06d26e4c8120a8b1ff70 (patch)
tree210d1127170baf6dd59d058e258eb7ef96a3d1d7 /installer/OpenSLX/OSExport/ExportType/NFS.pm
parent* added simple example file for export-filter.local (diff)
downloadcore-89a650ca99c0da3156df06d26e4c8120a8b1ff70.tar.gz
core-89a650ca99c0da3156df06d26e4c8120a8b1ff70.tar.xz
core-89a650ca99c0da3156df06d26e4c8120a8b1ff70.zip
* corrected assumption that rsync filters follow a best-match strategy to a first-match strategy
and adjusted the default filter accordingly git-svn-id: http://svn.openslx.org/svn/openslx/trunk@767 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer/OpenSLX/OSExport/ExportType/NFS.pm')
-rw-r--r--installer/OpenSLX/OSExport/ExportType/NFS.pm8
1 files changed, 3 insertions, 5 deletions
diff --git a/installer/OpenSLX/OSExport/ExportType/NFS.pm b/installer/OpenSLX/OSExport/ExportType/NFS.pm
index 659318be..b5529502 100644
--- a/installer/OpenSLX/OSExport/ExportType/NFS.pm
+++ b/installer/OpenSLX/OSExport/ExportType/NFS.pm
@@ -74,11 +74,9 @@ sub determineIncludeExcludeList
{
my $self = shift;
- # Rsync uses a best (longest) match strategy. If there is more than one
- # match with the same length, the first wins. This means that we have
- # to mix the local specifications in front of the filterset given by
- # the package (as the local filters should always overrule the vendor
- # filters):
+ # Rsync uses a first match strategy, so we mix the local specifications
+ # in front of the filterset given by the package (as the local filters
+ # should always overrule the vendor filters):
my $distroName = $self->{engine}->{'distro-name'};
my $localFilterFile = "../lib/distro-info/$distroName/export-filter.local";
my $includeExcludeList = slurpFile($localFilterFile, 1);