spec file: cast paths in source.exclude_dirs to lowercase
The paths tested against source.exclude_dirs are already cast to lowercase but previously the paths in source.exclude_dirs were left as-is. This could result in confusion if the user lists non-lowercase paths in source.exclude_dirs as they would never match anything.
This commit is contained in:
parent
bc11bd6066
commit
b6981f8c57
1 changed files with 1 additions and 1 deletions
|
@ -773,7 +773,7 @@ class Buildozer(object):
|
|||
for exclude_dir in exclude_dirs:
|
||||
if exclude_dir[-1] != '/':
|
||||
exclude_dir += '/'
|
||||
if filtered_root.startswith(exclude_dir):
|
||||
if filtered_root.startswith(exclude_dir.lower()):
|
||||
is_excluded = True
|
||||
break
|
||||
|
||||
|
|
Loading…
Reference in a new issue