Skip to content

Commit

Permalink
mk-moar-pc.in: replace autodie with a plain die
Browse files Browse the repository at this point in the history
There is only one open in the file, no need to enforce different perl
version dependency than Configure.pl.

RT #125771
  • Loading branch information
baby-gnu committed Aug 10, 2015
1 parent e168617 commit e075ba6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/mk-moar-pc.in
Expand Up @@ -5,10 +5,9 @@
## Copyright © 2014 Daniel Dehennin <daniel.dehennin@baby-gnu.org>
##
##
use 5.010_001;
use 5.010;
use strict;
use warnings;
use autodie;

use File::Basename;
use File::Path qw{make_path};
Expand Down Expand Up @@ -51,7 +50,8 @@ if ( ! -d $dirname ) {
make_path($dirname);
}

open my $pcfile, '>', "$args[0]";
open my $pcfile, '>', "$args[0]"
or die "Can not open > $pcfile: $!";

print $pcfile <<EOF;
# pkg-config information for MoarVM ${version}
Expand Down

0 comments on commit e075ba6

Please sign in to comment.