aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mandriva.org>2008-01-29 21:40:40 +0000
committerGuillaume Rousse <guillomovitch@mandriva.org>2008-01-29 21:40:40 +0000
commit24f1a27817c9556dd577b6c28b822d65c9c9da99 (patch)
tree72e13dcb9a90f7dc97e7e2e428bd7b262cf40408
parent72aa7dabb2407d8c76b6cdd590f5d42debed3b56 (diff)
downloadspec-helper-24f1a27817c9556dd577b6c28b822d65c9c9da99.tar
spec-helper-24f1a27817c9556dd577b6c28b822d65c9c9da99.tar.gz
spec-helper-24f1a27817c9556dd577b6c28b822d65c9c9da99.tar.bz2
spec-helper-24f1a27817c9556dd577b6c28b822d65c9c9da99.tar.xz
spec-helper-24f1a27817c9556dd577b6c28b822d65c9c9da99.zip
fix warning
-rwxr-xr-xfix-eol2
1 files changed, 1 insertions, 1 deletions
diff --git a/fix-eol b/fix-eol
index 39059a3..66c44ed 100755
--- a/fix-eol
+++ b/fix-eol
@@ -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;
}