Skip to content

Commit 367e8f8

Browse files
committed
minor LFCR -> CRLF fix
1 parent d660822 commit 367e8f8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/gitolite.pm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,12 +286,12 @@ sub report_basic
286286
# send back some useful info if no command was given
287287
print "hello $user, the gitolite version here is ";
288288
system("cat", ($GL_PACKAGE_CONF || "$GL_ADMINDIR/conf") . "/VERSION");
289-
print "\ryou have the following permissions:\n\r";
289+
print "\ryou have the following permissions:\r\n";
290290
for my $r (sort keys %repos) {
291291
my $perm .= ( $repos{$r}{C}{'@all'} ? ' @' : ( $repos{$r}{C}{$user} ? ' C' : ' ' ) );
292292
$perm .= ( $repos{$r}{R}{'@all'} ? ' @' : ( $repos{$r}{R}{$user} ? ' R' : ' ' ) );
293293
$perm .= ( $repos{$r}{W}{'@all'} ? ' @' : ( $repos{$r}{W}{$user} ? ' W' : ' ' ) );
294-
print "$perm\t$r\n\r" if $perm =~ /\S/;
294+
print "$perm\t$r\r\n" if $perm =~ /\S/;
295295
}
296296
}
297297

@@ -358,7 +358,7 @@ sub special_cmd
358358
# check each special command we know about and call it if enabled
359359
if ($cmd eq 'info') {
360360
&report_basic($GL_ADMINDIR, $GL_CONF_COMPILED, $user);
361-
print "you also have shell access\n\r" if $shell_allowed;
361+
print "you also have shell access\r\n" if $shell_allowed;
362362
} elsif ($cmd =~ /^info\s+(.+)$/) {
363363
my @otherusers = split ' ', $1;
364364
&parse_acl($GL_CONF_COMPILED);

0 commit comments

Comments
 (0)