aboutsummaryrefslogtreecommitdiffstats
path: root/fix-eol
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mandriva.org>2008-02-10 13:40:58 +0000
committerGuillaume Rousse <guillomovitch@mandriva.org>2008-02-10 13:40:58 +0000
commitb893b71ce4263b5f66a763a8fd78155741d0bb68 (patch)
tree7083bdbef71a8cb68a183206ad0701e4ccded47c /fix-eol
parentdedecdd39a818e61ab56700ac55847d36031fda7 (diff)
downloadspec-helper-b893b71ce4263b5f66a763a8fd78155741d0bb68.tar
spec-helper-b893b71ce4263b5f66a763a8fd78155741d0bb68.tar.gz
spec-helper-b893b71ce4263b5f66a763a8fd78155741d0bb68.tar.bz2
spec-helper-b893b71ce4263b5f66a763a8fd78155741d0bb68.tar.xz
spec-helper-b893b71ce4263b5f66a763a8fd78155741d0bb68.zip
fix warning
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);