aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Tools.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools.pm b/Tools.pm
index b94ac20..43ebeaa 100644
--- a/Tools.pm
+++ b/Tools.pm
@@ -41,7 +41,7 @@ sub parse_mageia_iso_name {
my %info;
if ($name =~ m/^(Mageia)-(\d+)(-((nightly|alpha|beta|RC)\d*))?(-(.*))?-(i586|x86_64|dual)?(-(CD|DVD|BR))?(-(build_\w+))?\.(.*)$/) {
- $info{full} = split(/./, $name);
+ $info{full} = `echo $name | sed 's/.iso//g' | tr -d '\n'`;
$info{name} = $1 if defined $1;
$info{version} = $2 if defined $2;
$info{release} = $4 if defined $4;