Skip to content

Commit

Permalink
yml2mm: Better pathing to default input file.
Browse files Browse the repository at this point in the history
  • Loading branch information
pjf committed Nov 17, 2014
1 parent 13c32ce commit cb6a824
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/yml2mm
Original file line number Diff line number Diff line change
Expand Up @@ -1569,7 +1569,7 @@ getopts('o:', \%opts);

warn "Writing output to $opts{o}\n";

if (@ARGV == 0) { @ARGV = "tree.yml" }
if (@ARGV == 0) { @ARGV = "$Bin/../tree.yml" }

open(my $out_fh, ">", $opts{o});

Expand Down
2 changes: 1 addition & 1 deletion bin/yml2mm.lean
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ getopts('o:', \%opts);

warn "Writing output to $opts{o}\n";

if (@ARGV == 0) { @ARGV = "tree.yml" }
if (@ARGV == 0) { @ARGV = "$Bin/../tree.yml" }

open(my $out_fh, ">", $opts{o});

Expand Down

0 comments on commit cb6a824

Please sign in to comment.