Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix $*KERNEL.version
  • Loading branch information
lizmat committed May 13, 2014
1 parent 55ab8aa commit 1984fdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/Kernel.pm
Expand Up @@ -24,7 +24,7 @@ class Kernel does Application {
}

method version {
$!version //= do {
$!version //= Version.new( do {
given $*DISTRO.name.lc {
when any <linux darwin> { # needs adapting
qx/uname -v/.chomp;
Expand All @@ -33,7 +33,7 @@ class Kernel does Application {
"unknown";
}
}
}
} );
}

method hardware {
Expand Down

0 comments on commit 1984fdf

Please sign in to comment.