aboutsummaryrefslogtreecommitdiffstats
path: root/fix-eol
diff options
context:
space:
mode:
Diffstat (limited to 'fix-eol')
-rw-r--r--fix-eol2
1 files changed, 1 insertions, 1 deletions
diff --git a/fix-eol b/fix-eol
index 6e732f8..7d3bf21 100644
--- a/fix-eol
+++ b/fix-eol
@@ -33,7 +33,7 @@ sub convert {
# process all file
my $out = File::Temp->new(DIR => '.', UNLINK => 0);
print $out $line;
- while ($line = <$in> && defined $line) {
+ while (($line = <$in>) && defined $line) {
$line =~ s/\r\n$/\n/;
print $out $line;
}