summaryrefslogtreecommitdiffstats
path: root/installer/OpenSLX/OSSetup/Engine.pm
diff options
context:
space:
mode:
Diffstat (limited to 'installer/OpenSLX/OSSetup/Engine.pm')
-rw-r--r--installer/OpenSLX/OSSetup/Engine.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/installer/OpenSLX/OSSetup/Engine.pm b/installer/OpenSLX/OSSetup/Engine.pm
index aeeb377d..3dc7d7c2 100644
--- a/installer/OpenSLX/OSSetup/Engine.pm
+++ b/installer/OpenSLX/OSSetup/Engine.pm
@@ -1608,8 +1608,10 @@ sub _clone_fetchSource
);
my $excludeIncludeList = $self->_clone_determineIncludeExcludeList();
vlog(1, "using exclude-include-filter:\n$excludeIncludeList\n");
+ my $additionalRsyncOptions = $ENV{SLX_RSYNC_OPTIONS} || '';
my $rsyncCmd
- = "rsync -av --delete --exclude-from=- $source $self->{'vendor-os-path'}";
+ = "rsync -av --delete --exclude-from=- $additionalRsyncOptions"
+ . " $source $self->{'vendor-os-path'}";
vlog(2, "executing: $rsyncCmd\n");
my $rsyncFH;
open($rsyncFH, '|-', $rsyncCmd)