Skip to content
This repository has been archived by the owner on Apr 19, 2018. It is now read-only.

Commit

Permalink
Merge branch 'gh-issue-2' into pu
Browse files Browse the repository at this point in the history
  • Loading branch information
Sitaram Chamarty committed Oct 30, 2009
2 parents 7907213 + 26b4992 commit 5108aed
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/gl-compile-conf
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,10 @@ for my $pubkey (glob("*"))
unless $user_list{$user};
$user_list{$user} = 'has pubkey';
print $newkeys_fh "command=\"$AUTH_COMMAND $user\",$AUTH_OPTIONS ";
print $newkeys_fh `cat $pubkey`;
# apparently some pubkeys don't end in a newline...
my $pubkey_content = `cat $pubkey`;
$pubkey_content =~ s/\s*$/\n/;
print $newkeys_fh $pubkey_content;
}
# lint check 3; a little more severe than the first two I guess...
for my $user (sort keys %user_list)
Expand Down

0 comments on commit 5108aed

Please sign in to comment.