diff options
author | Oliver Tappe | 2007-12-26 20:55:09 +0100 |
---|---|---|
committer | Oliver Tappe | 2007-12-26 20:55:09 +0100 |
commit | ae97992adf4c2c875c2de98bf89e2323e971c64d (patch) | |
tree | ed4968c5b31da06d1b7320022d9075c731d4d239 /installer | |
parent | * fixed two warnings caused by typos (diff) | |
download | core-ae97992adf4c2c875c2de98bf89e2323e971c64d.tar.gz core-ae97992adf4c2c875c2de98bf89e2323e971c64d.tar.xz core-ae97992adf4c2c875c2de98bf89e2323e971c64d.zip |
* Changed naming scheme for exports from <vendor-os>:<type> to
<vendor-os>::<type>, reusing the scope operator from perl and C++.
This is in preparation for add scope support to attributes, which is
going to use the same naming scheme.
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1434 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer')
-rw-r--r-- | installer/OpenSLX/OSExport/Engine.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/installer/OpenSLX/OSExport/Engine.pm b/installer/OpenSLX/OSExport/Engine.pm index 2033018c..c17a60d6 100644 --- a/installer/OpenSLX/OSExport/Engine.pm +++ b/installer/OpenSLX/OSExport/Engine.pm @@ -103,7 +103,7 @@ sub initializeForNew die _tr("vendor-OS '%s' not found in DB, giving up!", $vendorOSName); } - my $exportName = "$vendorOSName:$exportType"; + my $exportName = "${vendorOSName}::${exportType}"; $openslxDB->disconnect(); @@ -187,7 +187,7 @@ sub _initialize $exportType =~ m[^(\w+)(?:-(\w+))?$]; my $exportFS = lc($1); my $exportBD = lc($2); - vlog(2, "export-fs='$exportFS' export-bd='$exportBD'"); + vlog(2, "export-filesys='$exportFS' export-blockdev='$exportBD'"); $self->{'vendor-os-name'} = $vendorOSName; $self->{'vendor-os-id'} = $vendorOSId; |