From: František Dvořák Date: Wed, 21 Mar 2012 13:00:31 +0000 (+0100) Subject: Added seconds to end of the directories name. X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=a9d754a99f46c1c0c3f2fab57464cc39028d5cc0;p=meta-dashboard.git Added seconds to end of the directories name. --- diff --git a/dashboard.pl b/dashboard.pl index cbe95a6..8b628bd 100755 --- a/dashboard.pl +++ b/dashboard.pl @@ -23,7 +23,7 @@ foreach my $i (0..$#list) { } if ($#item != 2 or not $item[1] or not $item[2]) { next; } $date = $2; - $date =~ s/(...)(..)(..)T(..)(..)/$1-$2-$3/; + $date =~ s/(...)(..)(..)T(..)(..).*/$1-$2-$3/; $scen = 'install'; if (-f "$item/scenario") { diff --git a/matrixgen.pl b/matrixgen.pl index 69b12b6..4ad71d2 100755 --- a/matrixgen.pl +++ b/matrixgen.pl @@ -68,7 +68,7 @@ foreach my $i (0..$#list) { } if ($#item != 2 or not $item[1] or not $item[2]) { next; } $date = $2; - $date =~ s/(...)(..)(..)T(..)(..)/$1-$2-$3/; + $date =~ s/(...)(..)(..)T(..)(..).*/$1-$2-$3/; $scen = 'install'; if (-f "$item/scenario") {