Permalink
Browse files

[GH #822] Fix config hints for GNU/Hurd

See Debian bug #686266.
  • Loading branch information...
1 parent 40d3f64 commit 72b4ef0d60f2275455a50ea43fb9df80448ea207 @rurban rurban committed Sep 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 config/init/hints.pm
View
2 config/init/hints.pm
@@ -36,7 +36,7 @@ sub runstep {
my $hints_file;
my $osname = lc( $conf->data->get('OSNAME_provisional') );
- $osname = 'linux' if ($osname eq 'gnukfreebsd');
+ $osname = 'linux' if $osname =~ m/^gnu(kfreebsd)?$/;
my $hints_file_name = $conf->options->get('hintsfile') || $osname ;
$hints_file = catfile('config', 'init', 'hints', "$hints_file_name.pm");

0 comments on commit 72b4ef0

Please sign in to comment.