diff options
author | Oliver Tappe | 2007-03-26 11:52:12 +0200 |
---|---|---|
committer | Oliver Tappe | 2007-03-26 11:52:12 +0200 |
commit | 1c40082494aa1651e066e24c43634ccd6784fb70 (patch) | |
tree | 7344ec9c8a7ee8f88f765e1e127d946181b6a5d6 /installer/slxos-export | |
parent | Rearranging start scripts (diff) | |
download | core-1c40082494aa1651e066e24c43634ccd6784fb70.tar.gz core-1c40082494aa1651e066e24c43634ccd6784fb70.tar.xz core-1c40082494aa1651e066e24c43634ccd6784fb70.zip |
* do not list rsync temp folders any longer when showing all exported vendor-OSes
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@821 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer/slxos-export')
-rwxr-xr-x | installer/slxos-export | 14 |
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"); |