diff options
author | Guillaume Rousse <guillomovitch@mandriva.org> | 2008-01-29 21:40:40 +0000 |
---|---|---|
committer | Guillaume Rousse <guillomovitch@mandriva.org> | 2008-01-29 21:40:40 +0000 |
commit | 24f1a27817c9556dd577b6c28b822d65c9c9da99 (patch) | |
tree | 72e13dcb9a90f7dc97e7e2e428bd7b262cf40408 /fix-eol | |
parent | 72aa7dabb2407d8c76b6cdd590f5d42debed3b56 (diff) | |
download | spec-helper-24f1a27817c9556dd577b6c28b822d65c9c9da99.tar spec-helper-24f1a27817c9556dd577b6c28b822d65c9c9da99.tar.gz spec-helper-24f1a27817c9556dd577b6c28b822d65c9c9da99.tar.bz2 spec-helper-24f1a27817c9556dd577b6c28b822d65c9c9da99.tar.xz spec-helper-24f1a27817c9556dd577b6c28b822d65c9c9da99.zip |
fix warning
Diffstat (limited to 'fix-eol')
-rwxr-xr-x | fix-eol | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,7 @@ sub convert { # process all file my $out = File::Temp->new(DIR => '.', UNLINK => 0); print $out $line; - while (($line = <$in>) && defined $line) { + while (defined ($line = <$in>)) { $line =~ s/\r\n$/\n/; print $out $line; } |