summaryrefslogtreecommitdiffstats
path: root/installer/slxos-export
diff options
context:
space:
mode:
Diffstat (limited to 'installer/slxos-export')
-rwxr-xr-xinstaller/slxos-export14
1 files changed, 9 insertions, 5 deletions
diff --git a/installer/slxos-export b/installer/slxos-export
index 80f1a872..30045ff7 100755
--- a/installer/slxos-export
+++ b/installer/slxos-export
@@ -61,11 +61,15 @@ my $action = shift @ARGV;
if ($action =~ m[^list-ex]i) {
print _tr("List of exported vendor-OSes:\n");
foreach my $type (sort keys %supportedExportTypes) {
- print join('', map {
- s[^.+/][];
- "\t$type/$_\n";
- }
- sort <$openslxConfig{'export-path'}/$type/*>);
+ print join('', map {
+ s[^.+/][];
+ "\t$type/$_\n";
+ }
+ grep {
+ # filter out RSYNC_TMP folders:
+ $_ !~ m[###];
+ }
+ sort <$openslxConfig{'export-path'}/$type/*>);
}
} elsif ($action =~ m[^list-in]i) {
print _tr("List of installed vendor-OSes:\n");