[Rt-commit] r5962 - commitbit/lib/CommitBit/Model
clkao at bestpractical.com
clkao at bestpractical.com
Sat Sep 16 20:08:50 EDT 2006
Author: clkao
Date: Sat Sep 16 20:08:49 2006
New Revision: 5962
Modified:
commitbit/lib/CommitBit/Model/Repository.pm
Log:
chomp the htpasswd generated line.
Modified: commitbit/lib/CommitBit/Model/Repository.pm
==============================================================================
--- commitbit/lib/CommitBit/Model/Repository.pm (original)
+++ commitbit/lib/CommitBit/Model/Repository.pm Sat Sep 16 20:08:49 2006
@@ -184,7 +184,9 @@
print $fh $self->autogenerated_file_warning;
my $users = $self->associated_users;
while (my $user = $users->next) {
- print $fh `htpasswd -nmb @{[$user->email]} @{[$user->__value('password')]}`;
+ my $line = `htpasswd -nmb @{[$user->email]} @{[$user->__value('password')]}`;
+ chomp $line;
+ print $fh $line;
}
};
}
More information about the Rt-commit
mailing list