aboutsummaryrefslogtreecommitdiffstats
path: root/fix-eol
diff options
context:
space:
mode:
Diffstat (limited to 'fix-eol')
-rwxr-xr-xfix-eol3
1 files changed, 2 insertions, 1 deletions
diff --git a/fix-eol b/fix-eol
index 66c44ed..3914afc 100755
--- a/fix-eol
+++ b/fix-eol
@@ -14,7 +14,8 @@ $buildroot =~ s|/$||;
my %exclude_files = (
map { $buildroot . $_ => 1 }
- split(' ', $ENV{EXCLUDE_FROM_EOL_CONVERSION})
+ $ENV{EXCLUDE_FROM_EOL_CONVERSION} ?
+ split(' ', $ENV{EXCLUDE_FROM_EOL_CONVERSION}) : ()
);
find(\&convert, $buildroot);