aboutsummaryrefslogtreecommitdiffstats
path: root/fix_eol
diff options
context:
space:
mode:
Diffstat (limited to 'fix_eol')
-rwxr-xr-xfix_eol6
1 files changed, 2 insertions, 4 deletions
diff --git a/fix_eol b/fix_eol
index c546fed..ea14c29 100755
--- a/fix_eol
+++ b/fix_eol
@@ -23,10 +23,8 @@ $exclude_pattern = qr/$exclude_pattern/;
find(\&convert, $buildroot);
sub convert {
- # skip symlinks
- return if -l $_;
- # skip directories
- return if -d $_;
+ # skip everything but files
+ return unless -f $_;
# skip binary files
return unless -T $_;
# skip excluded files