Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #309 from usev6/nom
add freebsd to KERNELnames
  • Loading branch information
lizmat committed Sep 17, 2014
2 parents 0ac159e + 7fa4eef commit 391b487
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/core/Kernel.pm
Expand Up @@ -14,7 +14,8 @@ class Kernel does Systemic {
method name {
$!name //= do {
given $*DISTRO.name {
when any <linux macosx freebsd> { # needs adapting
# needs adapting, also $*PERL.KERNELnames in src/core/Perl.pm
when any <linux macosx freebsd> {
qx/uname -s/.chomp.lc;
}
default {
Expand Down
2 changes: 1 addition & 1 deletion src/core/Perl.pm
Expand Up @@ -24,7 +24,7 @@ class Perl does Systemic {
)
}

method KERNELnames { <darwin linux win32> }
method KERNELnames { <darwin linux freebsd win32> }
}

multi sub INITIALIZE_DYNAMIC('$*PERL') {
Expand Down

0 comments on commit 391b487

Please sign in to comment.