From 950df73f5a66ba95b57a9f752d76d649cbeb7fb1 Mon Sep 17 00:00:00 2001 From: Anssi Hannula Date: Sun, 24 Jun 2007 20:15:34 +0000 Subject: Add missing parantheses to fix-eol script. Instead of converting EOL it was corrupting the files --- fix-eol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fix-eol') 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; } -- cgit v1.2.1