summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Schmelzer2012-04-12 15:34:58 +0200
committerSebastian Schmelzer2012-04-12 15:34:58 +0200
commit04f3762fb823f6a067c17412a6d66ea17a9a160f (patch)
treeeb57f2ec0eac9b1277378183417143f4ffa17188
parentadd missing package hint to syscall error (diff)
downloadcore-04f3762fb823f6a067c17412a6d66ea17a9a160f.tar.gz
core-04f3762fb823f6a067c17412a6d66ea17a9a160f.tar.xz
core-04f3762fb823f6a067c17412a6d66ea17a9a160f.zip
fix demuxer warnings
-rw-r--r--src/installer/OpenSLX/OSExport/Engine.pm7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/installer/OpenSLX/OSExport/Engine.pm b/src/installer/OpenSLX/OSExport/Engine.pm
index 251869e0..5034baa3 100644
--- a/src/installer/OpenSLX/OSExport/Engine.pm
+++ b/src/installer/OpenSLX/OSExport/Engine.pm
@@ -203,8 +203,11 @@ sub _initialize
exit 1;
}
$exportType =~ m[^(\w+)(?:-(\w+))?$];
- my $exportFS = lc($1);
- my $exportBD = lc($2);
+ my $exportFS = "";
+ my $exportBD = "";
+ $exportFS = lc($1) if defined $1;
+ $exportBD = lc($2) if defined $2;
+
vlog(2, "export-filesys='$exportFS' export-blockdev='$exportBD'");
$self->{'vendor-os-name'} = $vendorOSName;