Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make sure we always have a $*DISTRO.release
  • Loading branch information
lizmat committed Dec 18, 2014
1 parent 1b0e064 commit 3d390fb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/core/Distro.pm
Expand Up @@ -44,8 +44,8 @@ multi sub INITIALIZE_DYNAMIC('$*DISTRO') {
my $version := $config<osvers>;
my $path-sep := $name eq 'MSWin32' ?? ';' !! ':';
#?endif
my Str $release;
my Str $auth := "unknown";
my Str $release := "unknown";
my Str $auth := "unknown";

# darwin specific info
if $name eq 'darwin' {
Expand All @@ -61,7 +61,6 @@ multi sub INITIALIZE_DYNAMIC('$*DISTRO') {
else {
$name := 'Mac OS X'; # we assume
$version := "unknown";
$release := "unknown";
}
$auth := 'Apple Computer, Inc.'; # presumably
}
Expand Down

0 comments on commit 3d390fb

Please sign in to comment.