Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Item13135: Sort the generated .gitignore file
  • Loading branch information
gac410 committed Dec 6, 2014
1 parent 4e83cec commit 267d4f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/pseudo-install.pl
Expand Up @@ -1625,7 +1625,7 @@ sub update_gitignore_file {
@lines = merge_gitignore( $generated_files{$moduleDir}, \@lines );
$ignorefile = untaint($ignorefile);
if ( open( my $fh, '>', $ignorefile ) ) {
foreach my $line (@lines) {
foreach my $line ( sort @lines ) {
print $fh $line . "\n";
}
close($fh) or error("Couldn't close $ignorefile");
Expand Down

0 comments on commit 267d4f7

Please sign in to comment.